OAuth Tokens (sts/v1)

Exchange an OAuth Token

General Availability

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.

post/sts/v1/oauth2/token

Response

access token used to access public control plane api

access_tokenstring required

An JWT access token, issued by Confluent, in response to the token exchange request. Client application could use the access token to access confluent public api

issued_token_typestring required

The token type. Always matches the value of requested_token_type from the request.

token_typestring required

Indicates the token type value. The only type that Confluent supports is Bearer

expires_ininteger required

The length of time, in seconds, that the access token is valid.

Example response

{
  "issued_token_type": "urn:ietf:params:oauth:token-type:access_token",
  "token_type": "Bearer",
  "expires_in": 3600
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.