CmdID / aws / aws secretsmanager
aws secretsmanager put-secret-value
Creates a new version of your secret by creating a new encrypted value and attaching it to the secret. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--client-request-tokenA unique identifier for the new version of the secret.--rotation-tokenA unique identifier that indicates the source of the request.--secret-binaryThe binary data to encrypt and store in the new version of the secret.--secret-idThe ARN or name of the secret to add a new version to.--secret-stringThe text to encrypt and store in the new version of the secret.--version-stagesA list of staging labels to attach to this version of the secret.