Skip to main content

identity_center_auth_tokens

Creates, updates, deletes, gets or lists an identity_center_auth_tokens resource.

Overview

Nameidentity_center_auth_tokens
TypeResource
Idaws.redshift_serverless.identity_center_auth_tokens

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
expiration_timestring (date-time)The date and time when the Identity Center authentication token expires. After this time, a new token must be requested for continued access.
tokenstringThe Identity Center authentication token that can be used to access data in the specified workgroups. This token contains the Identity Center identity information and is encrypted for secure transmission.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_identity_center_auth_tokenselectregionReturns an Identity Center authentication token for accessing Amazon Redshift Serverless workgroups. The token provides secure access to data within the specified workgroups using Identity Center identity propagation. The token expires after a specified duration and must be refreshed for continued access. The Identity and Access Management (IAM) user or role that runs GetIdentityCenterAuthToken must have appropriate permissions to access the specified workgroups and Identity Center integration must be configured for the workgroups.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns an Identity Center authentication token for accessing Amazon Redshift Serverless workgroups. The token provides secure access to data within the specified workgroups using Identity Center identity propagation. The token expires after a specified duration and must be refreshed for continued access. The Identity and Access Management (IAM) user or role that runs GetIdentityCenterAuthToken must have appropriate permissions to access the specified workgroups and Identity Center integration must be configured for the workgroups.

SELECT
expiration_time,
token
FROM aws.redshift_serverless.identity_center_auth_tokens
WHERE region = '{{ region }}' -- required
;