Before you start
-
Make sure that you (if you are not your tenant’s owner), or the service account that you use on your behalf to manage resources, are 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:
-
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
Run the following command:Configure your profile
Create a new CLI profile:-
Initialize the Nebius AI Cloud CLI configuration:
-
Check that your new profile has been created and set as default:
--profile <service_account_profile_name> to the commands.