You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compared with AWS command line cli decrypt the key with output as bs64 I am getting the same output as the application is giving.
Command -
aws kms decrypt --ciphertext-blob fileb:///tmp/cipherblob --output text --query Plaintext | base64 -d
I am getting bs64 encrypted data even when I am using [plain] explicitly in application.yml.
Input -
secretKey: '{cipher}[output=plain]AQICAHgIQjiUCcEmiMlQkpKpQm9t6LVNLprl4kMCtLSOzmhW0wEiJ4yCAocdNg7/Le7BPvdAAAAAqzCBqAYJKoZIhvcNAQcGoIGaMIGXAgEAMIGRBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDFzlVJm3QRa5UVy9MQIBEIBkYkARHFeY+/l7MFbN2NfVwwIpuQoMHNAp+FruHPwBU6G8tK9OCLbo7TR0+3XrfQayxnHK447kQmRLJ+AyQHEm6VmHeAx+k9YgNk+eTLPCbPW8U5I+csZoDmFYrf9FLzJW0BKW0w=='
output -
49ef6c32-cc8c-409c-aeb0-0392f405802b:c7bfc9c4-8a64-44e5-b2fa-fec172ad4da9
pom.xml details
<java.version>1.8</java.version>
<spring-cloud.version>Hoxton.SR5</spring-cloud.version>
<aws-java-sdk.version>1.11.774</aws-java-sdk.version>
<spring-cloud-config-aws-kms.version>5.1.2</spring-cloud-config-aws-kms.version>
Compared with AWS command line cli decrypt the key with output as bs64 I am getting the same output as the application is giving.
Command -
aws kms decrypt --ciphertext-blob fileb:///tmp/cipherblob --output text --query Plaintext | base64 -d
49ef6c32-cc8c-409c-aeb0-0392f405802b:c7bfc9c4-8a64-44e5-b2fa-fec172ad4da9
The text was updated successfully, but these errors were encountered: