Commit a52c2f70 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'eread/improve-introduction-to-project-access-tokens' into 'master'

Improve introduction to project access tokens

See merge request gitlab-org/gitlab!83150
parents 7aefbc35 63d4fbed
...@@ -12,17 +12,16 @@ type: reference, howto ...@@ -12,17 +12,16 @@ type: reference, howto
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/235765) in GitLab 13.5. > - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/235765) in GitLab 13.5.
> - [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/342327) in GitLab 14.5. Default prefix added. > - [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/342327) in GitLab 14.5. Default prefix added.
You can use a project access token to authenticate: Project access tokens are similar to passwords, except you can [limit access to resources](#scopes-for-a-project-access-token),
select a limited role, and provide an expiry date.
- With the [GitLab API](../../../api/index.md#personalprojectgroup-access-tokens). Use a project access token to authenticate:
- With Git, when using HTTP Basic Authentication.
After you configure a project access token, you don't need a password when you authenticate. - With the [GitLab API](../../../api/index.md#personalprojectgroup-access-tokens).
Instead, you can enter any non-blank value. - With Git, when using HTTP Basic Authentication. You can use any non-blank value for a password.
Project access tokens are similar to [group access tokens](../../group/settings/group_access_tokens.md) Project access tokens are similar to [group access tokens](../../group/settings/group_access_tokens.md)
and [personal access tokens](../../profile/personal_access_tokens.md), except they are and [personal access tokens](../../profile/personal_access_tokens.md).
associated with a project rather than a group or user.
In self-managed instances, project access tokens are subject to the same [maximum lifetime limits](../../admin_area/settings/account_and_limit_settings.md#limit-the-lifetime-of-personal-access-tokens) as personal access tokens if the limit is set. In self-managed instances, project access tokens are subject to the same [maximum lifetime limits](../../admin_area/settings/account_and_limit_settings.md#limit-the-lifetime-of-personal-access-tokens) as personal access tokens if the limit is set.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment