Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / secretsmanager / tag-resource.rst
Size: Mime:
**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.