aws.cognito_identity.get_open_id_token
Example SQL Queries
SELECT * FROMaws.cognito_identity.get_open_id_tokenWHERE"identity_id" = 'VALUE';Description
Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by GetId. You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link.
The OpenID token is valid for 10 minutes.
This is a public API. You do not need any credentials to call this API.
Table Definition
| Column Name | Column Data Type |
|---|---|
| identity_id Required Input Column A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input. | VARCHAR |
| logins Input Column A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider's authflow. For accounts.google.com, an Amazon Cognito user pool provider, or any other OpenID Connect provider, always include the id_token. | MAP(VARCHAR, VARCHAR) |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| token An OpenID token, valid for 10 minutes. | VARCHAR |