Skip to content

/AWS1/CL_LKFTEMPORARYCREDS

A temporary set of credentials for an Lake Formation user. These credentials are scoped down to only access the raw data sources that the user has access to.

The temporary security credentials consist of an access key and a session token. The access key consists of an access key ID and a secret key. When the credentials are created, they are associated with an IAM access control policy that limits what the user can do when using the credentials.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_accesskeyid TYPE /AWS1/LKFACCESSKEYIDSTRING /AWS1/LKFACCESSKEYIDSTRING

The access key ID for the temporary credentials.

iv_secretaccesskey TYPE /AWS1/LKFSECRETACCESSKEYSTRING /AWS1/LKFSECRETACCESSKEYSTRING

The secret key for the temporary credentials.

iv_sessiontoken TYPE /AWS1/LKFSESSIONTOKENSTRING /AWS1/LKFSESSIONTOKENSTRING

The session token for the temporary credentials.

iv_expiration TYPE /AWS1/LKFEXPIRATIONTIMESTAMP /AWS1/LKFEXPIRATIONTIMESTAMP

The date and time when the temporary credentials expire.


Queryable Attributes

AccessKeyId

The access key ID for the temporary credentials.

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

SecretAccessKey

The secret key for the temporary credentials.

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

SessionToken

The session token for the temporary credentials.

Accessible with the following methods

Method Description
GET_SESSIONTOKEN() Getter for SESSIONTOKEN, with configurable default
ASK_SESSIONTOKEN() Getter for SESSIONTOKEN w/ exceptions if field has no value
HAS_SESSIONTOKEN() Determine if SESSIONTOKEN has a value

Expiration

The date and time when the temporary credentials expire.

Accessible with the following methods

Method Description
GET_EXPIRATION() Getter for EXPIRATION, with configurable default
ASK_EXPIRATION() Getter for EXPIRATION w/ exceptions if field has no value
HAS_EXPIRATION() Determine if EXPIRATION has a value