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
It would be very useful to have a section on how to decrypt the encrypted vars from other languages/technologies, even without code but with a description of what to do, because right now for some reasons I'm having a lot of problems accessing the secrets from Ruby.
Apparently the plugin encodes using base64? https://github.com/nordcloud/serverless-kms-secrets/blob/master/index.js#L81-L94
In ruby I do:
token = "blablabla" #what serverless-kms-secrets put in ENV
client = Aws::KMS::Client.new(region: 'us-east-1')
blob = Base64.encode64(token)
client.decrypt({ciphertext_blob: blob})
....
Aws::KMS::Errors::InvalidCiphertextException ()
I'm clearly decrypting it wrong, but I don't know how to move from here.
The text was updated successfully, but these errors were encountered:
It would be very useful to have a section on how to decrypt the encrypted vars from other languages/technologies, even without code but with a description of what to do, because right now for some reasons I'm having a lot of problems accessing the secrets from Ruby.
Apparently the plugin encodes using base64?
https://github.com/nordcloud/serverless-kms-secrets/blob/master/index.js#L81-L94
In ruby I do:
I'm clearly decrypting it wrong, but I don't know how to move from here.
The text was updated successfully, but these errors were encountered: