Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 1641

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**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.