class Amazonite::Iam::SSHPublicKey

Overview

Contains information about an SSH public key.

This data type is used as a response element in the GetSSHPublicKey and UploadSSHPublicKey operations.

Defined in:

iam/ssh_public_key.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(user_name : String, ssh_public_key_id : String, fingerprint : String, ssh_public_key_body : String, status : StatusType, upload_date : Time | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def fingerprint : String #

The MD5 message digest of the SSH public key.


[View source]
def fingerprint=(fingerprint : String) #

The MD5 message digest of the SSH public key.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def ssh_public_key_body : String #

The SSH public key.


[View source]
def ssh_public_key_body=(ssh_public_key_body : String) #

The SSH public key.


[View source]
def ssh_public_key_id : String #

The unique identifier for the SSH public key.


[View source]
def ssh_public_key_id=(ssh_public_key_id : String) #

The unique identifier for the SSH public key.


[View source]
def status : StatusType #

The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.


[View source]
def status=(status : StatusType) #

The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def upload_date : Time | Nil #

The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.


[View source]
def upload_date=(upload_date : Time | Nil) #

The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.


[View source]
def user_name : String #

The name of the IAM user associated with the SSH public key.


[View source]
def user_name=(user_name : String) #

The name of the IAM user associated with the SSH public key.


[View source]
def validate! : Nil #

[View source]