I simply configure myself using AWS Key Management and invoke the method generateDataKey. This method works and returns CiphertextBlob and Plaintext blob.
However, blobs are formatted something like this:
g ' w i < a*\B4p 1IG
I use the API, so according to the docs, it is not encoded. I'm trying to figure out if Plaintext can somehow be "decoded" in PHP, so I can store / use it without any odd ASCII characters. What I expected is a long string of characters, not the special characters above. I feel that I am missing something simple.
Thank!
Jason source
share