OpenSSH public key format (e.g., the format in ~/.ssh/authorized_keys)
Base64 encoded DER format
SSH public key file format as specified in RFC4716
This is what the AWS documentation says about the "PublicKeyMaterial" parameter:
"The public key. You must base64 encode the public key material before
sending it to AWS."
I tried importing a key via the OpenSSH public key format and also via
RFC4716, but AWS didn't accept my key until I manually encoded it with
base64 (in both cases). I don't know if the base64-encoded DER format
also needs to be encoded in base64 (which would mean you have to
double-encode?), but the documentation does sound like that is the
case.
Bye,
Waldemar
--
Django on App Engine, MongoDB, ...? Browser-side Python? It's open-source:
http://www.allbuttonspressed.com/
I've sent a pull request.