⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
awscli
/
examples
/
secretsmanager
/
View File Name :
tag-resource.rst
**Example 1: To add a tag to a secret** The following example shows how to attach a tag with shorthand syntax. :: aws secretsmanager tag-resource \ --secret-id MyTestSecret \ --tags Key=FirstTag,Value=FirstValue This command produces no output. For more information, see `Tag your secrets
`__ in the *Secrets Manager User Guide*. **Example 2: To add multiple tags to a secret** The following ``tag-resource`` example attaches two key-value tags to a secret. :: aws secretsmanager tag-resource \ --secret-id MyTestSecret \ --tags '[{"Key": "FirstTag", "Value": "FirstValue"}, {"Key": "SecondTag", "Value": "SecondValue"}]' This command produces no output. For more information, see `Tag secrets
`__ in the *Secrets Manager User Guide*.