Skip to main content
In this guide, you will learn how to create a service account, grant it access rights and delete it.

Before you start

You do not need to complete any prerequisites if you create a service account in the web console.
  1. Install and initialize the Nebius AI Cloud CLI.
  2. Check that your project ID is saved in the Nebius AI Cloud CLI profile configuration:
    cat ~/.nebius/config.yaml
    
  3. Install the jq to extract IDs and tokens from JSON data returned by the Nebius AI Cloud CLI:
    • For Ubuntu:
    sudo apt-get install jq
    
    • For macOS:
    brew install jq
    
  4. In the web console, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/administration.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e6411dc023fd6972922c0a12a59ccf21 Administration → IAM and expand the top-left list of tenants.
  5. Next to the tenant’s name, click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Copy tenant ID and save it to an environment variable:
    export TENANT_ID=<tenant_id>
    

Create a service account

  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/administration.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e6411dc023fd6972922c0a12a59ccf21 Administration → IAM.
  2. Go to the Service accounts tab.
  3. Click Create entity and select Service account.
  4. In the window that opens, check the service account name and select the project where you will create a bucket.
  5. Click Create and continue.

Grant editor access to the service account

  1. In the Service accounts tab, locate the required service account and click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334adAdd to group.

Delete a service account

Deleting a service account cannot be reversed.
If you no longer need a service account:
  1. Delete all resources associated with the account.
  2. In the Service accounts tab, find the required service account and click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334adDelete service account.
  3. In the window that opens, confirm the deletion.