class
Amazonite::Iam::AccessKey
- Amazonite::Iam::AccessKey
- Reference
- Object
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.crConstructors
- .from_xml(node : XML::Node) : self
- .new(user_name : String, access_key_id : String, status : StatusType, secret_access_key : String, create_date : Time | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#access_key_id : String
The ID for this access key.
-
#access_key_id=(access_key_id : String)
The ID for this access key.
-
#create_date : Time | Nil
The date when the access key was created.
-
#create_date=(create_date : Time | Nil)
The date when the access key was created.
-
#hash(hasher)
See
Object#hash(hasher) -
#secret_access_key : String
The secret key used to sign requests.
-
#secret_access_key=(secret_access_key : String)
The secret key used to sign requests.
-
#status : StatusType
The status of the access key.
-
#status=(status : StatusType)
The status of the access key.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#user_name : String
The name of the IAM user that the access key is associated with.
-
#user_name=(user_name : String)
The name of the IAM user that the access key is associated with.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The status of the access key. Active means that the key is valid for API calls, while
Inactive means it is not.
The status of the access key. Active means that the key is valid for API calls, while
Inactive means it is not.
The name of the IAM user that the access key is associated with.