Please note that the processes described for GUI and CLI users result in your public key and import token being exported in different formats.
This chapter is relevant only for CLI users!
-
If you were using a GUI so far, no modifications are needed. Please proceed to the next chapter - Generating and Preparing your CMK.
-
If you were using a CLI so far, please continue with the process described below.
-
Take the ImportToken output, paste it into a text editor, and save it as ImportToken.b64.
-
Run the following OpenSSL command to convert the ImportToken from base64 formatting into a binary data format.
|
›_ Console |
|---|
|
-
Take the PublicKey output and paste it into a text editor.
-
Add a new line "-----BEGIN PUBLIC KEY-----" above. Below, add a new line "-----END PUBLIC KEY------".
-
Save the text file as AWSPublicKey.pem.
-
Run the following OpenSSL command to convert the PublicKey from pem format into der format.
|
›_ Console |
|---|
|