/AWS1/CL_IAMACCESSKEY¶
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.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_username TYPE /AWS1/IAMUSERNAMETYPE /AWS1/IAMUSERNAMETYPE¶
The name of the IAM user that the access key is associated with.
iv_accesskeyid TYPE /AWS1/IAMACCESSKEYIDTYPE /AWS1/IAMACCESSKEYIDTYPE¶
The ID for this access key.
iv_status TYPE /AWS1/IAMSTATUSTYPE /AWS1/IAMSTATUSTYPE¶
The status of the access key.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.
iv_secretaccesskey TYPE /AWS1/IAMACCESSKEYSECRETTYPE /AWS1/IAMACCESSKEYSECRETTYPE¶
The secret key used to sign requests.
Optional arguments:¶
iv_createdate TYPE /AWS1/IAMDATETYPE /AWS1/IAMDATETYPE¶
The date when the access key was created.
Queryable Attributes¶
UserName¶
The name of the IAM user that the access key is associated with.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_USERNAME() |
Getter for USERNAME, with configurable default |
ASK_USERNAME() |
Getter for USERNAME w/ exceptions if field has no value |
HAS_USERNAME() |
Determine if USERNAME has a value |
AccessKeyId¶
The ID for this access key.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ACCESSKEYID() |
Getter for ACCESSKEYID, with configurable default |
ASK_ACCESSKEYID() |
Getter for ACCESSKEYID w/ exceptions if field has no value |
HAS_ACCESSKEYID() |
Determine if ACCESSKEYID has a value |
Status¶
The status of the access key.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
SecretAccessKey¶
The secret key used to sign requests.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SECRETACCESSKEY() |
Getter for SECRETACCESSKEY, with configurable default |
ASK_SECRETACCESSKEY() |
Getter for SECRETACCESSKEY w/ exceptions if field has no val |
HAS_SECRETACCESSKEY() |
Determine if SECRETACCESSKEY has a value |
CreateDate¶
The date when the access key was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDATE() |
Getter for CREATEDATE, with configurable default |
ASK_CREATEDATE() |
Getter for CREATEDATE w/ exceptions if field has no value |
HAS_CREATEDATE() |
Determine if CREATEDATE has a value |