如何创建具有仅阅读Azure DevOps Git凭据的服务帐户?
我们正在使用Azure DevOps Git,我们想创建一个可以从GIT存储库中读取的非用户服务帐户(BOT)。
我们如何在系统中实现这一目标?对于非用户服务帐户机器人,如何执行此操作并不明显。
任何帮助将不胜感激。
We are using Azure DevOps Git and we want to create a non-user Service Account (a bot) that can read from a git repository.
How do we actually achieve this in the system? It is not obvious how to do this for a non-user service account bot.
Any help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用的是Azure DevOps服务,则在您在Azure DevOps Services中创建组织时,该服务帐户将自动为您创建。当客户与托管服务进行通信时,可以通过Web Portal管理页面进行查看。
如果您使用的是Azure DevOps服务器,请参考文档:
https://learn.microsoft.com/en-us/azure/devops/server/account-requirentess?view=Azure-devops-2020
https://learn.microsoft.com/en-us/azure/devops/server/aserver/admin/service-accounts-depperencies?view = azure-devops
If you are using Azure DevOps services, the Service Account is automatically created for you when you create an organization in Azure DevOps Services. It is used when clients communicate with the hosted service and can be viewed through the web portal administration page.
If you are using Azure DevOps server, please refer to the docs:
https://learn.microsoft.com/en-us/azure/devops/server/account-requirements?view=azure-devops-2020
https://learn.microsoft.com/en-us/azure/devops/server/admin/service-accounts-dependencies?view=azure-devops