Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vault_secret.html.markdown #1759

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/r/vault_secret.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ resource "oci_vault_secret" "test_secret" {
secret_content {
#Required
content_type = var.secret_secret_content_content_type
content = var.secret_secret_content_content

#Optional
content = var.secret_secret_content_content
name = var.secret_secret_content_name
stage = var.secret_secret_content_stage
}
Expand Down Expand Up @@ -61,7 +61,7 @@ The following arguments are supported:
* `key_id` - (Optional) The OCID of the master encryption key that is used to encrypt the secret.
* `metadata` - (Optional) (Updatable) Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.
* `secret_content` - (Required) (Updatable) The content of the secret and metadata to help identify it.
* `content` - (Optional) (Updatable) The base64-encoded content of the secret.
* `content` - (Required) (Updatable) The base64-encoded content of the secret.
* `content_type` - (Required) (Updatable) content type . Example `BASE64` .
* `name` - (Optional) (Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
* `stage` - (Optional) (Updatable) The rotation state of the secret content. The default is `CURRENT`, meaning that the secret is currently in use. A secret version that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as `PENDING` if you haven't yet updated the secret on the target system. When creating a secret, only the value `CURRENT` is applicable, although the value `LATEST` is also automatically applied. When updating a secret, you can specify a version's rotation state as either `CURRENT` or `PENDING`.
Expand Down