Command option Sample:aws secretsmanager list-secret-version-ids

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

Lists all of the versions attached to the specified secret.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/secretsmanager/list-secret-version-ids.html

aws secretsmanager list-secret-version-ids --secret-id MyTestDatabaseSecret \
    list-secret-version-ids — AWS CLI 1.16.13 Command Reference : http://docs.aws.amazon.com/goto/aws-cli/secretsmanager-2017-10-17/ListSecretVersionIds
aws secretsmanager list-secret-version-ids --secret-id envir/username
    amazon web services - AWS secrets manager, 'A previous rotation isn’t complete' when rotating secrets - Stack Overflow : http://stackoverflow.com/a/50337928

aws のオプション一覧