Command option Sample:aws secretsmanager tag-resource

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

Attaches one or more tags, each consisting of a key name and a value,to the specified secret.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/secretsmanager/tag-resource.html

aws secretsmanager tag-resource --secret-id MyTestDatabaseSecret \
    tag-resource — AWS CLI 1.16.13 Command Reference : http://docs.aws.amazon.com/de_de/cli/latest/reference/secretsmanager/tag-resource.html

aws のオプション一覧