PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
secretsmanager
**To add tags to a secret** The following example shows how to attach two tags each with a Key and Value to a secret. :: aws secretsmanager tag-resource --secret-id MyTestDatabaseSecret \ --tags '[{"Key": "FirstTag", "Value": "SomeValue"}, {"Key": "SecondTag", "Value": "AnotherValue"}]' There is no output from this API. To see the result, use the describe-secret operation.
[-] tag-resource.rst
[edit]
[-] get-resource-policy.rst
[edit]
[-] put-resource-policy.rst
[edit]
[+]
..
[-] cancel-rotate-secret.rst
[edit]
[-] delete-secret.rst
[edit]
[-] update-secret-version-stage.rst
[edit]
[-] list-secret-version-ids.rst
[edit]
[-] delete-resource-policy.rst
[edit]
[-] describe-secret.rst
[edit]
[-] create-secret.rst
[edit]
[-] get-random-password.rst
[edit]
[-] rotate-secret.rst
[edit]
[-] put-secret-value.rst
[edit]
[-] update-secret.rst
[edit]
[-] list-secrets.rst
[edit]
[-] get-secret-value.rst
[edit]
[-] restore-secret.rst
[edit]
[-] untag-resource.rst
[edit]