KMS lookups give values $VAL wrapped as "b'$VAL'" when using python 3
See original GitHub issueWhile 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”.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Untitled
Nex star 3 aprilie 2014, Mini u lock bicycle, 2014 dave rankin invitational, Alte tabakstube knyrim stuttgart, Renee garvens? 24434 clothing, Boba fett...
Read more >ALL AFNI program -help files
default values (0 except for scales, which default to 1). * At least 1 parameter must be given, or you get this help...
Read more >Untitled
Gateway plus 3 testy chomikuj, Dr w t maheswaran, Leonidio klettern, Zauberpilze richtig ... Roman jurczak mala, Myavanti market, Editor written in python!...
Read more >Diffusional Kurtosis Estimator: dke-questions - NITRC
I input dwi images with b=0,0.8,1.5 and 2.5, where b0 has one direction and the other b values have 18 directions. There are...
Read more >CodeBLEU/test_files/Full_Reference_PY.txt ... - GitLab
#!/usr/bin/env python from subprocess import check_output from circuits.web import Controller, Server class Root(Controller): def index(self): return ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll go ahead and get a dot release out by this weekend.
This has been resolved with 1.7.1