Credentials inventory for GitLab Self-Managed
- Tier: Ultimate
- Offering: GitLab Self-Managed
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 GitLab Self-Managed instance.
This page describes how to manage the credentials inventory for GitLab Self-Managed. To manage credentials on GitLab.com, see Credentials inventory for GitLab.com.
In the credentials inventory, you can view all:
- Personal access tokens (PATs).
- Project access tokens
- Group access tokens (introduced in GitLab 15.6).
- SSH keys.
- GPG keys.
You can also revoke, delete, and view:
- Who they belong to.
- Their access scope.
- Their usage pattern.
- When they:
- Expire.
- Were revoked.
Revoke a user’s personal access token
You can revoke a user’s personal access token.
- On the left sidebar, at the bottom, select Admin.
- Select Credentials.
- 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 state | Revoke button displayed? | Comments |
---|---|---|
Active | Yes | Allows administrators to revoke the PAT, such as for a compromised account |
Expired | No | Not applicable; token is already expired |
Revoked | No | Not applicable; token is already revoked |
When a PAT is revoked from the credentials inventory, the instance notifies the user by email.
Revoke a user’s project access token
- On the left sidebar, at the bottom, select Admin.
- Select Credentials.
- Select the Project access tokens tab.
- 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.
Delete a user’s SSH key
- On the left sidebar, at the bottom, select Admin.
- Select Credentials.
- Select the SSH Keys tab.
- By the SSH key, select Delete.
The instance notifies the user.
Review existing GPG keys
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:
- Who the GPG key belongs to.
- The ID of the GPG key.
- Whether the GPG key is verified or unverified.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support