Closed
Description
While attempting to encrypt a password 'hello!' per the directions here:
- the command given for encryption fails entirely
- after getting encryption working, Stacker populated incorrect values
using the suggested encryption command aws kms encrypt --key-id alias/DbConnectionKey --plaintext 'hello!' --output text --query CiphertextBlob
results in:
Invalid base64: "hello!"
From there, I attempted to use aws kms encrypt --key-id alias/DbConnectionKey --plaintext fileb://<(echo -n 'hello!') --output text --query CiphertextBlob
and used the result to create a secret via Stacker. In this secret, I see:
Does this need a different configuration than the one from the docs, or is there another way I should be doing this? I'm currently using Stacker 1.7.0 on python 3.5.3. I've also tried dropping the '!' off the end and received the same behavior with just "hello".
Metadata
Metadata
Assignees
Labels
No labels