单个项目或组的Gitlab访问令牌? [英] Gitlab access token for a single project or group?
问题描述
是否有一种方法可以制作仅适用于一个项目的访问令牌?似乎只有个人访问令牌,可以访问我的所有项目.
Is there a way to make an access token that is only usable for one project? It seems there are only personal access tokens, which gives access to all of my projects.
推荐答案
是!
请参见 GitLab 13.3 (2020年8月)
See GitLab 13.3 (August 2020)
项目访问令牌
项目级访问令牌允许访问项目,而无需提供新的GitLab用户.
Project access tokens
Project level access tokens allow access to a project without the need to provision a new GitLab user.
项目访问令牌可以由项目维护者或所有者生成,并用于通过GitLab API进行身份验证.
项目访问令牌将被授权为维护者.
Project access tokens can be generated by project Maintainers or Owners and be used to authenticate with the GitLab API.
Project access tokens will be authorized as Maintainers.
这项新功能将使对GitLab的编程访问变得更容易,更安全且成本更低.
This new functionality will make programmatic access to GitLab easier, more secure, and less cost prohibitive.
请参见文档和
See also GitLab 13.5 (October 2020) In GitLab 13.3, we introduced project-level access tokens for self-managed instances, allowing access to a project without the need to provision a new user. 我们现在在GitLab.com中提供项目级别的访问令牌!项目访问令牌可以由项目维护者或所有者生成,并用于通过GitLab API和Git进行身份验证.项目访问令牌不会增加许可的座位数,而是被授权为维护者.这项新功能将使对GitLab的编程访问变得更轻松,更安全且成本更低. We are now making project-level access tokens available in GitLab.com! Project access tokens can be generated by project Maintainers or Owners and be used to authenticate with the GitLab API and Git. Project access tokens will not increase the licensed seat count and are authorized as Maintainers. This new functionality will make programmatic access to GitLab easier, more secure, and less cost prohibitive.
GitLab.com的项目访问令牌
Project access tokens for GitLab.com