% sm 8
sm - AWS Secrets Manager CLI Tool
sm
Usage:
sm [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]
select from list or pass in specific secret
--binary, -b: get the SecretBinary value
--secret-id, -s="": Specific Secret to view, will bypass select/search
interactive edit of a secret String Value
--binary, -b: get the SecretBinary value
--secret-id, -s="": Specific Secret to edit, will bypass select/search
create new secret in Secrets Manager
--binary, -b: get the SecretBinary value
--description, -d="": Additional description text.
--interactive, -i: Open interactive editor to create secret value. If no 'value' is provided, an editor will be opened by default.
--secret-id, -s="": Secret name
--tags, -t="": key=value tags (CSV list)
--value, -v="": Secret Value. Will store as a string, unless binary flag is set.
non-interactive update to a specific secret
Stores a new encrypted secret value in the specified secret. To do this, the
operation creates a new version and attaches it to the secret. The version
can contain a new SecretString value or a new SecretBinary value.
This will put the value to AWSCURRENT and retain one previous version
with AWSPREVIOUS.
--binary, -b: get the SecretBinary value
--interactive, -i: Override and open interactive editor to verify and modify the new secret value.
--secret-id, -s="": Secret name
--value, -v="": Secret Value. Will store as a string, unless binary flag is set.
delete a specific secret
--force, -f: Bypass recovery window (30 days) and immediately delete Secret.
--secret-id, -s="": Specific Secret to delete
display table of all secrets with meta data
print description of secret to STDOUT
--secret-id, -s="": Specific Secret to describe, will bypass select/search