Access Keys allow users to authenticate and interact programmatically with the NVIDIA Run:ai API. Each access key consists of a client ID and secret that can be used to obtain authentication tokens. Access keys can be managed by individual users for their own use, or by administrators for organization-wide access. For more information, see Access control.
Retrieve a list of the user's access keys.
Executed successfully.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "accessKeys": [
- {
- "name": "my-access-key",
- "id": "3434c-12323ab-4ce2ea6-b44fc-db344d",
- "clientId": "3434c-12323ab-4ce2ea6",
- "createdAt": "2019-01-01T00:00:00Z",
- "lastLogin": "2020-01-01T00:00:00Z"
}, - {
- "name": "another-access-key",
- "id": "5656d-45645cd-6de3fb7-c55gd-ef455e",
- "clientId": "5656d-45645cd-6de3fb7",
- "createdAt": "2019-01-01T00:00:00Z",
- "lastLogin": "2020-01-01T00:00:00Z"
}
]
}Used to create an access key.
Access key object to create
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource already exists
unexpected error
unexpected error
{- "name": "access-key-name"
}{- "id": "0eeaf222-e503-4f35-9d9c-c419816272e3",
- "clientId": "5e7b3b7b4b7b4b7b",
- "name": "access-key-123",
- "clientSecret": "this-is-the-access-key-secret",
- "createdAt": "2020-01-01T00:00:00Z"
}Retrieve the details of an access key by id.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "name": "my-access-key",
- "id": "3434c-12323ab-4ce2ea6-b44fc-db344d",
- "clientId": "3434c-12323ab-4ce2ea6",
- "createdAt": "2019-01-01T00:00:00Z",
- "lastLogin": "2020-01-01T00:00:00Z"
}Use to delete an access key by id.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}Use to regenerate the access key secret by id.
Regenerated successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "clientSecret": "this-is-my-secret"
}Retrieve a list of all access keys.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "accessKeys": [
- {
- "name": "my-access-key",
- "id": "3434c-12323ab-4ce2ea6-b44fc-db344d",
- "clientId": "1434c-123233ab-4ce2ea6-b44fc-db344d",
- "createdBy": "test@run.ai",
- "createdAt": "2020-01-01T00:00:00Z",
- "lastLogin": "2020-01-01T00:00:00Z"
}, - {
- "name": "another-access-key",
- "id": "5656d-45645cd-6de3fb7-c55gd-ef455e",
- "clientId": "2545e-234344bc-5df4gc8-d66he-fg566f",
- "createdBy": "user@run.ai",
- "createdAt": "2020-01-01T00:00:00Z",
- "lastLogin": "2020-01-01T00:00:00Z"
}
]
}Use to delete an access key by id for administrations.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}