Create an access token v2
Authentication
Request
The OAuth2 grant type. Determines the authentication flow and which parameters are required:
client_credentials - Authenticate as a service account or user access key using clientId and clientSecret.
password - Authenticate as a local user using username and password.
external_token_exchange - Authenticate as a service account or user using a token issued by the configured identity provider (IdP) for a Run:ai token. Requires externalToken.
The client identifier for a service account or user access key. Required when using the client_credentials grant type. Must be used together with clientSecret.
The client secret corresponding to the clientId. Required when using the client_credentials grant type. Must be used together with clientId.
A valid token issued by the identity provider (IdP) that is configured in NVIDIA Run:ai. Required when using the external_token_exchange grant type.
Response
The type of the token issued (typically “Bearer”)
ID Token value associated with the authenticated session (OpenID Connect)