class Amazonite::Iam::AccessKey

Overview

Contains information about an Amazon Web Services access key.

This data type is used as a response element in the CreateAccessKey and ListAccessKeys operations.

The SecretAccessKey value is returned only in response to CreateAccessKey. You can get a secret access key only when you first create an access key; you cannot recover the secret access key later. If you lose a secret access key, you must create a new access key.

Defined in:

iam/access_key.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(user_name : String, access_key_id : String, status : StatusType, secret_access_key : String, create_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 access_key_id : String #

The ID for this access key.


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

The ID for this access key.


[View source]
def create_date : Time | Nil #

The date when the access key was created.


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

The date when the access key was created.


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

See Object#hash(hasher)


def secret_access_key : String #

The secret key used to sign requests.


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

The secret key used to sign requests.


[View source]
def status : StatusType #

The status of the access key. Active means that the key is valid for API calls, while Inactive means it is not.


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

The status of the access key. Active means that the key is valid for API calls, while Inactive means it is not.


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

[View source]
def user_name : String #

The name of the IAM user that the access key is associated with.


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

The name of the IAM user that the access key is associated with.


[View source]
def validate! : Nil #

[View source]