Skip to content

Commit

Permalink
inits security services docs
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hausenblas <hausenbl@amazon.com>
  • Loading branch information
mhausenblas committed Jan 8, 2020
1 parent 8492a36 commit 2196c5d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/security.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Secrets Manager

To tag the secret `arn:aws:secretsmanager:us-west-2:123456789012:secret:mysecret-12345`
with `some=thing`, use the following:

```sh
# tag:
$ awsometag arn:aws:secretsmanager:us-west-2:123456789012:secret:mysecret-12345 some=thing
2020/01/08 09:27:28 Tagging secret 'mysecret' in region 'us-west-2' with some:thing

# verify the tagging:
$ aws secretsmanager describe-secret \
--secret-id mysecret
{
"ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:mysecret-12345",
"Name": "mysecret",
"Tags": [
{
"Key": "some",
"Value": "other"
}
],
...
}
```

0 comments on commit 2196c5d

Please sign in to comment.