Skip to main content

oauth_tokens

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

Overview

Nameoauth_tokens
TypeResource
Idconfluent.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:

NameAccessible byRequired ParamsOptional ParamsDescription
exchange_sts_v1_oauth_tokenexecsubject_token, grant_type, identity_pool_id, subject_token_type, requested_token_typeUse 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.

NameDatatypeDescription

Lifecycle Methods

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 }}
}'
;