Certified Security - Specialty

Sign Up Free or Log In to participate!

Receiving an Invalid base64: “hello” error

$ aws kms encrypt –plaintext ‘hello’ –key-id arn:aws:kms:us-east-1:507690085473:key/6250defb-ef15-4771-8494-eefd75a47bfa

Invalid base64: "hello"

1 Answers

Quick answer is to append your command with the following –cli-binary-format raw-in-base64-out

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?