aws secretsmanager
Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets. AWS CLI reference
23 commands Its page in the AWS CLI reference
Commands
batch-get-secret-valueRetrieves the contents of the encrypted fields SecretString or SecretBinary for up to 20 secrets.cancel-rotate-secretTurns off automatic rotation, and if a rotation is currently in progress, cancels the rotation.create-secretCreates a new secret.delete-resource-policyDeletes the resource-based permission policy attached to the secret.delete-secretDeletes a secret and all of its versions.describe-secretRetrieves the details of a secret.get-random-passwordGenerates a random password.get-resource-policyRetrieves the JSON text of the resource-based policy document attached to the secret.get-secret-valueRetrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content.list-secret-version-idsLists the versions of a secret.list-secretsLists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion.put-resource-policyAttaches a resource-based permission policy to a secret.put-secret-valueCreates a new version of your secret by creating a new encrypted value and attaching it to the secret.remove-regions-from-replicationFor a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.replicate-secret-to-regionsReplicates the secret to a new Regions.restore-secretCancels the scheduled deletion of a secret by removing the DeletedDate time stamp.rotate-secretConfigures and starts the asynchronous process of rotating the secret.stop-replication-to-replicaRemoves the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.tag-resourceAttaches tags to a secret.untag-resourceRemoves specific tags from a secret.update-secretModifies the details of a secret, including metadata and the secret value.update-secret-version-stageModifies the staging labels attached to a version of a secret.validate-resource-policyValidates that a resource policy does not grant a wide range of principals access to your secret.