From 2196c5dd130c83b14aca10a6f168bdb4164b8b82 Mon Sep 17 00:00:00 2001 From: Michael Hausenblas Date: Wed, 8 Jan 2020 09:42:00 +0000 Subject: [PATCH] inits security services docs Signed-off-by: Michael Hausenblas --- docs/security.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/security.md diff --git a/docs/security.md b/docs/security.md new file mode 100644 index 0000000..4aeba78 --- /dev/null +++ b/docs/security.md @@ -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" + } + ], + ... +} +``` \ No newline at end of file