Command option Sample:aws secretsmanager put-secret-value

Search command sample in the internet.It is the result.

Stores a new encrypted secret value in the specified secret.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/secretsmanager/put-secret-value.html

aws secretsmanager put-secret-value --secret-id MyTestDatabaseSecret \
    put-secret-value — AWS CLI 1.16.13 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/secretsmanager/put-secret-value.html
aws secretsmanager put-secret-value --secret-id "fbi/secrets/dev" --secret-string file://dev.json
    GitHub - ozbillwang/asm-showcase: A showcase on how to get secrets with AWS Secrets manager - nodejs : http://github.com/ozbillwang/asm-showcase

aws のオプション一覧