identity_center_auth_tokens
Creates, updates, deletes, gets or lists an identity_center_auth_tokens resource.
Overview
| Name | identity_center_auth_tokens |
| Type | Resource |
| Id | aws.redshift_serverless.identity_center_auth_tokens |
Fields
The following fields are returned by SELECT queries:
- get_identity_center_auth_token
| Name | Datatype | Description |
|---|---|---|
expiration_time | string (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. |
token | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_identity_center_auth_token | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_identity_center_auth_token
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
;