Updating a service account
Management console
CLI
-
In the management console
, select the folder the service account belongs to. -
At the top of the screen, go to the Service accounts tab.
-
Click
-
Change the name of your service account.
The name format requirements are as follows:
- The length can be from 3 to 63 characters.
- It may contain lowercase Latin letters, numbers, and hyphens.
- The first character must be a letter. The last character can't be a hyphen.
-
Change the description of your service account.
-
Click Save.
If you don't have the Nebius AI command line interface yet, install and initialize it.
-
See the description of the update service account command:
ncp iam service-account update --help
-
Select a service account (for example,
my-robot
):ncp iam service-account list
Result:
+----------------------+------------------+-------------------------------+ | ID | NAME | DESCRIPTION | +----------------------+------------------+-------------------------------+ | aje6o61dvog2******** | my-robot | | | aje9sda1ufvq******** | account_name | account_description | +----------------------+------------------+-------------------------------+
-
Change the service account parameters, such as name and description:
ncp iam service-account update my-robot \ --new-name my-service-account \ --description "this is my service account"
The name format requirements are as follows:
- The length can be from 3 to 63 characters.
- It may contain lowercase Latin letters, numbers, and hyphens.
- The first character must be a letter. The last character can't be a hyphen.