CmdID / aws / aws secretsmanager
aws secretsmanager create-secret
Creates a new secret. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--add-replica-regionsA list of Regions and KMS keys to replicate secrets.--client-request-tokenIf you include SecretString or SecretBinary, then Secrets Manager creates an initial version for the secret, and this parameter specifies the unique identifier for the new version.--descriptionThe description of the secret.--force-overwrite-replica-secretSpecifies whether to overwrite a secret with the same name in the destination Region.--kms-key-idThe ARN, key ID, or alias of the KMS key that Secrets Manager uses to encrypt the secret value in the secret.--nameThe name of the new secret.--secret-binaryThe binary data to encrypt and store in the new version of the secret.--secret-stringThe text data to encrypt and store in this new version of the secret.--tagsA list of tags to attach to the secret.--typeThe exact string that identifies the partner that holds the external secret.