Skip to main content

Update a service account

Reviewed on · View on GitHub

You can update a service account's name, token duration and expiration date.

Permissions​

info

This action requires the following IAM (Identity and Access Management) permissions:

  • iam.serviceAccount.update

Console​

From the left-hand side menu, click IAM → Service Accounts.
  1. From the left-hand side menu, click IAM → Service Accounts.
  2. In the Service Accounts table, click the access key of the service account to update.
tip

You can search for a specific service account using the Search field.

  1. On the "Service Account details" page, click the pencil of the "Name" field.
  2. Enter the new name, then confirm with the tick (the cross cancels the change).

From the console, only the service account's name can be updated. The token duration and the expiration date are updated via the API (API tab).