View source: R/secretsmanager_operations.R
secretsmanager_update_secret | R Documentation |
Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use put_secret_value
.
See https://www.paws-r-sdk.com/docs/secretsmanager_update_secret/ for full documentation.
secretsmanager_update_secret(
SecretId,
ClientRequestToken = NULL,
Description = NULL,
KmsKeyId = NULL,
SecretBinary = NULL,
SecretString = NULL
)
SecretId |
[required] The ARN or name of the secret. For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN. |
ClientRequestToken |
If you include If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request. If you generate a raw HTTP request to the Secrets Manager service
endpoint, then you must generate a This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during a rotation. We recommend that you generate a UUID-type value to ensure uniqueness of your versions within the specified secret. |
Description |
The description of the secret. |
KmsKeyId |
The ARN, key ID, or alias of the KMS key that Secrets Manager uses to
encrypt new secret versions as well as any existing versions with the
staging labels A key alias is always prefixed by If you set this to an empty string, Secrets Manager uses the Amazon Web
Services managed key You can only use the Amazon Web Services managed key
|
SecretBinary |
The binary data to encrypt and store in the new version of the secret. We recommend that you store your binary data in a file and then pass the contents of the file as a parameter. Either You can't access this parameter in the Secrets Manager console. Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field. |
SecretString |
The text data to encrypt and store in the new version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value. Either Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.