Skip to content

/AWS1/CL_RSHGETIDCENAUTHTOKRSP

The response from GetIdentityCenterAuthToken containing the encrypted authentication token and expiration time.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_token TYPE /AWS1/RSHSENSITIVESTRING /AWS1/RSHSENSITIVESTRING

The encrypted authentication token containing the caller's Amazon Web Services IAM Identity Center identity information. This token is encrypted using Key Management Service and can only be decrypted by the specified Amazon Redshift clusters. Use this token with Amazon Redshift drivers to authenticate using your Amazon Web Services IAM Identity Center identity.

iv_expirationtime TYPE /AWS1/RSHTSTAMP /AWS1/RSHTSTAMP

The time (UTC) when the token expires. After this timestamp, the token will no longer be valid for authentication.


Queryable Attributes

Token

The encrypted authentication token containing the caller's Amazon Web Services IAM Identity Center identity information. This token is encrypted using Key Management Service and can only be decrypted by the specified Amazon Redshift clusters. Use this token with Amazon Redshift drivers to authenticate using your Amazon Web Services IAM Identity Center identity.

Accessible with the following methods

Method Description
GET_TOKEN() Getter for TOKEN, with configurable default
ASK_TOKEN() Getter for TOKEN w/ exceptions if field has no value
HAS_TOKEN() Determine if TOKEN has a value

ExpirationTime

The time (UTC) when the token expires. After this timestamp, the token will no longer be valid for authentication.

Accessible with the following methods

Method Description
GET_EXPIRATIONTIME() Getter for EXPIRATIONTIME, with configurable default
ASK_EXPIRATIONTIME() Getter for EXPIRATIONTIME w/ exceptions if field has no valu
HAS_EXPIRATIONTIME() Determine if EXPIRATIONTIME has a value