oauth_tokens
Creates, updates, deletes, gets or lists an oauth_tokens resource.
Overview
| Name | oauth_tokens |
| Type | Resource |
| Id | confluent.sts.oauth_tokens |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
exchange_sts_v1_oauth_token | exec | subject_token, grant_type, identity_pool_id, subject_token_type, requested_token_type | Use this operation to exchange an access token (JWT) issued by an external identity provider for an access token (JWT) issued by Confluent.This enables the use of external identities to access Confluent Cloud APIs. |
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 |
|---|
Lifecycle Methods
- exchange_sts_v1_oauth_token
Use this operation to exchange an access token (JWT) issued by an external identity provider for
an access token (JWT) issued by Confluent.This enables the use of external identities
to access Confluent Cloud APIs.
EXEC confluent.sts.oauth_tokens.exchange_sts_v1_oauth_token
@@json=
'{
"grant_type": "{{ grant_type }}",
"subject_token": "{{ subject_token }}",
"identity_pool_id": "{{ identity_pool_id }}",
"subject_token_type": "{{ subject_token_type }}",
"requested_token_type": "{{ requested_token_type }}",
"expires_in": {{ expires_in }}
}'
;