-
Notifications
You must be signed in to change notification settings - Fork 167
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 lookups give values $VAL wrapped as "b'$VAL'" when using python 3 #755
Comments
after uninstalling via pip3 and reinstalling via pip2, the issue only affects Python 3. For what it's worth, |
This comment has been minimized.
This comment has been minimized.
Still seeing the same issue, is this fixed for python 3?
I went ahead and opened a pull request: #762 |
you're right, I hadn't cleaned out my python2 installation and am seeing this issue again |
Hi guys, Any chance to fix this in the next release? All the secrets are now showing as b'secret' Thanks |
I'll go ahead and get a dot release out by this weekend. |
https://github.com/cloudtools/stacker/releases/tag/1.7.2 - released, sorry for the delay! |
While attempting to encrypt a password 'hello!' per the directions here:
using the suggested encryption command
aws kms encrypt --key-id alias/DbConnectionKey --plaintext 'hello!' --output text --query CiphertextBlob
results in: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".
The text was updated successfully, but these errors were encountered: