如何正确更新我的PAT,以使我的部署组不会由于PAT到期而停止工作? [英] How do I properly renew my PATs so that my deployment groups do not stop working due to expiration of the PAT?
问题描述
部署组何时由于配置了它的个人访问令牌(PAT)过期或再生而停止工作?
When does a Deployment Group stop working due to expiration or regeneration of the Personal Access Token (PAT) that it was configured with?
如果我重新生成PAT,是否需要更新已部署的代理,例如用新的PAT重新配置它们?
If I regenerate the PAT, do I need to update the deployed agents, e.g. reconfigure them with the new PAT?
如果我只是编辑PAT,更新到期日期,但不执行其他任何操作(例如,不重新生成PAT或在配置的部署代理上进行任何更改?它会阻止它过期,并且配置的部署代理仍然可以工作吗?
What happens if I just edit the PAT, update the Expiration date, but don't do anything else, e.g. do not regenerate the PAT or do any changes at the configured deployment agent? Will it stop it from expiring and the configured deployment agent still work?
我们拥有Azure DevOps管道,以及配置为将解决方案安装到一台服务器的部署组.
We have Azure DevOps pipeline, along with a deployment group configured to install the solution to one server.
我们有一个服务帐户,我们使用该服务帐户生成了PAT,并使用该令牌来配置部署组.
We have a service account, which we use have generated a PAT and used that token to configure the Deployment Group.
我试图重新生成令牌,这给了我一个新的PAT.我尚未尝试使用新的PAT配置服务器.但是,从重新生成PAT以来,部署似乎仍可以正常工作.
I have tried to regenerate the token, which gave me a new PAT. I have not tried to configure the server with the new PAT. However, deployments still seem to work just fine hours from regenerating the PAT.
什么是更新PAT的正确方法,以使其不过期并且我的部署代理不会停止工作?
What is the proper way to update the PAT so that it does not expire and my deployment agents do not stop working?