gpt4 book ai didi

单个项目或组的 Gitlab 访问 token ?

转载 作者:行者123 更新时间:2023-12-04 13:18:37 26 4
gpt4 key购买 nike

有没有办法制作仅可用于一个项目的访问 token ?似乎只有个人访问 token ,可以访问我的所有项目。

最佳答案

是的!
GitLab 13.3 (2020 年 8 月)

Project access tokens

Project level access tokens allow access to a project without the need to provision a new GitLab user.

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.

This new functionality will make programmatic access to GitLab easier, more secure, and less cost prohibitive.

https://about.gitlab.com/images/13_3/project_access_tokens.png -- Project access tokens

See Documentation and Issue.



另见 GitLab 13.5 (2020 年 10 月)

Project access tokens for GitLab.com

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.

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.

https://about.gitlab.com/images/13_5/project_access_tokens.png -- Project access tokens for GitLab.com

See Documentation and Epic.



GitLab 14.1 (2021 年 7 月)

Select project access token role

Select project access token role

Users can now specify the level of access that a project token should have on the project level upon creation and can view existing project access token roles.

Prior to this release, project access tokens had the Maintainer role. For some users, this role included elevated permissions that were not required.

To avoid abuse, this feature is available for all users except for free GitLab SaaS accounts. All self-managed users as well as Premium and Gold SaaS customers can now easily select and view the appropriate role for their project access tokens.

https://about.gitlab.com/images/14_1/token.png -- Select project access token role

See Documentation and Issue.

关于单个项目或组的 Gitlab 访问 token ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57067748/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com