Exchange a workload identity subject token
Exchange a configured workload identity subject token for a NeMo Platform access token.
Request
This endpoint expects an object.
grant_type
OAuth 2.0 token exchange grant type.
Allowed values:
client_id
Workload token exchange OAuth client ID.
subject_token
JWT subject token to exchange.
subject_token_type
Token type identifier for the subject token.
Allowed values:
requested_token_type
Requested token type identifier for the issued token.
Allowed values:
audience
Requested audience for the issued access token.
scope
Space-separated scopes requested for the issued access token.
Response
Successful Response
access_token
JWT access token minted for the workload identity.
issued_token_type
Token type identifier for the issued token.
token_type
OAuth token type used in Authorization headers.
expires_in
Lifetime of the access token in seconds.
scope
Space-separated scopes granted to the access token.
Errors
400
Bad Request Error
401
Unauthorized Error