Tokens

Use tokens to facilitate authentication to the NVIDIA Run:ai API. The API server must be configured to use the NVIDIA Run:ai identity service to validate authentication tokens.

Create a token

post

Create tokens using the grant_type parameter.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
grantTypeundefined · enumOptionalPossible values:
appIDstringOptionalDeprecated
appSecretstringOptionalDeprecated
codestringOptional
redirectUristringOptional
refreshTokenstringOptional
usernamestringOptional
passwordstringOptional
clientIDstringOptional
clientSecretstringOptional
externalTokenstringOptional
Responses
chevron-right
200

Executed successfully.

application/json
post
/api/v1/token
Deprecated

get application token

post

Retrieve access token for an application. The application token is retrieved from the authorization server. This endpoint is deprecated. Use /api/v1/token with the grantType parameter set to app_token instead, with AppID and appSecret set accordingly to get an application token

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
idstringRequired
namestringRequired
secretstringRequired
Responses
chevron-right
200

Executed successfully.

application/json
post
/v1/k8s/auth/oauth/apptoken

Last updated