问题描述
如果我理解正确,则个人访问令牌(PAT)与登录的用户身份相关联(它们毕竟在用户设置中).
If I understand correctly, Personal Access Tokens (PAT) are associated with the user identity logged in (they are within User Settings afterall).
问题:对于不应与单个团队成员的帐户相关联且不依赖其功能职责(例如自动系统部署)的功能性职责,是否可以生成非用户上下文的PAT?/p>
Question: For functional responsibilities that should not be associated with and reliant upon one individual team member's account (ex. automated systems deployments), is there a way to generate non-user contextual PATs?
推荐答案
无法创建非用户上下文个人访问令牌.个人访问令牌是用户可以用来向Azure DevOps进行身份验证的备用密码.
There is no way to create non-user contextual personal access tokens. Personal access tokens are alternate passwords that user can use to authenticate into Azure DevOps.
您可以创建具有适当访问权限的服务帐户,然后从该服务帐户生成具有适当范围的PAT.这样所有团队成员都可以使用这些PAT.
You can create a service account with proper access, then generate PATs with proper scopes from this service account. So that all team members can use these PATs.
这篇关于Azure DevOps设置中是否可以创建与单个用户无关的等效的个人访问令牌(PAT)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!