Credentials inventory

As a GitLab administrator, you are responsible for the overall security of your instance. To assist, GitLab provides an inventory of all the credentials that can be used to access your self-managed instance.

In the credentials inventory, you can view all:

  • Personal access tokens (PATs).
  • Project access tokens (introduced in GitLab 14.8).
  • Group access tokens (introduced in GitLab 15.6).
  • SSH keys.
  • GPG keys.

You can also revoke, delete, and view:

Revoke a user’s personal access token

Introduced in GitLab 13.4.

You can revoke a user’s personal access token.

  1. On the left sidebar, select Search or go to.
  2. Select Admin Area.
  3. Select Credentials.
  4. By the personal access token, select Revoke.

If a Revoke button is not available, the token may be expired or revoked, or an expiration date set.

Token stateRevoke button displayed?Comments
ActiveYesAllows administrators to revoke the PAT, such as for a compromised account
ExpiredNoNot applicable; token is already expired
RevokedNoNot applicable; token is already revoked

When a PAT is revoked from the credentials inventory, the instance notifies the user by email.

Credentials inventory page - Personal access tokens

Revoke a user’s project access token

Introduced in GitLab 14.8.

  1. On the left sidebar, select Search or go to.
  2. Select Admin Area.
  3. Select Credentials.
  4. Select the Project Access Tokens tab.
  5. By the project access token, select Revoke.

The project access token is revoked and a background worker is queued to delete the project bot user.

Credentials inventory page - Project access tokens

Delete a user’s SSH key

Introduced in GitLab 13.5.

  1. On the left sidebar, select Search or go to.
  2. Select Admin Area.
  3. Select Credentials.
  4. Select the SSH Keys tab.
  5. By the SSH key, select Delete.

The instance notifies the user.

Credentials inventory page - SSH keys

Review existing GPG keys

Version history

You can view all existing GPG in your GitLab instance by going to the credentials inventory GPG Keys tab, as well as the following properties:

Credentials inventory page - GPG keys