class Aws::IAM::Types::GetSSHPublicKeyRequest
@note When making an API call, you may pass GetSSHPublicKeyRequest
data as a hash: { user_name: "userNameType", # required ssh_public_key_id: "publicKeyIdType", # required encoding: "SSH", # required, accepts SSH, PEM }
@!attribute [rw] user_name
The name of the IAM user associated with the SSH public key. This parameter allows (through its [regex pattern][1]) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,.@- [1]: http://wikipedia.org/wiki/regex @return [String]
@!attribute [rw] ssh_public_key_id
The unique identifier for the SSH public key. This parameter allows (through its [regex pattern][1]) a string of characters that can consist of any upper or lowercased letter or digit. [1]: http://wikipedia.org/wiki/regex @return [String]
@!attribute [rw] encoding
Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use `SSH`. To retrieve the public key in PEM format, use `PEM`. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKeyRequest AWS API Documentation
Constants
- SENSITIVE