Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KMS: Fix method for specifying custom key material #1482

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/en/user-guide/aws/kms/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ This can be useful to pre-seed a development environment so values encrypted wit
Here is an example of using custom key material with the value being base64 encoded:

{{< command >}}
$ echo 'c3VwZXIgc2VjcmV0IGtleQo=' | base64 -d
$ echo 'dGhpc2lzYXNlY3VyZWtleQ==' | base64 -d
<disable-copy>
super secret key
thisisasecurekey
</disable-copy>
$ awslocal kms create-key --tags '[{"TagKey":"_custom_key_material_","TagValue":"c3VwZXIgc2VjcmV0IGtleQo="}]'
$ awslocal kms create-key --tags '[{"TagKey":"_custom_key_material_","TagValue":"dGhpc2lzYXNlY3VyZWtleQ=="}]'
<disable-copy>
{
"KeyMetadata": {
Expand Down