Access keys in Nebius AI Cloud are used to authenticate service accounts in AWS-compatible services, such as Object Storage. To work with such services using their CLIs (e.g., AWS CLI), create an access key and add it to the CLI configuration. The key ID is included in your requests and can be viewed. The secret key is used to sign the request parameters and is not included in the request. Access keys can be issued without an expiration date. Do not confuse access tokens with access keys. Access tokens are used for authentication in Nebius AI Cloud interfaces.Documentation Index
Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
Use this file to discover all available pages before exploring further.
Before you start
-
Make sure that you, or the service account that you use on your behalf, is in a group that has the
adminrole within your tenant; for example, the defaultadminsgroup. You can check this in the Administration → IAM section of the web console. - Install and initialize the Nebius AI Cloud CLI.
-
Check that your project ID is saved in the Nebius AI Cloud CLI profile configuration:
-
Install the jq to extract IDs and tokens from JSON data returned by the Nebius AI Cloud CLI:
- Create a service account, if you don’t have one already.
-
Get the ID of the service account for which you want to issue the key and save it to an environment variable:
Create a key pair
Create an access key pair and save its ID to an environment variable:--expires at allows you to create a temporary access key. To set the key’s expiration date, use the ISO 8601 format. Here’s how to store an environment variable with a one-year expiration date:
--expires-at $EXPIRES_AT.
Configure your AWS CLI profile
In this example, you will configure the AWS CLI to work with Object Storage on behalf of the service account.-
Get the access key pair AWS ID and save it to an environment variable:
-
Get the secret key and save it to an environment variable:
-
Add the key to the AWS CLI configuration:
-
Depending on your project region, add the Nebius AI Cloud region ID and the Object Storage endpoint URL to the AWS CLI configuration:
For example, run the following commands for a project in
eu-north1: