You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the fetched token's lifespan is finite. So at some point the agent needs to fetch a new one again so that the agent won't get stale and still receive new jobs.
It is possible to retrieve one again in the function cleanup() of start.sh. But we believe that having built-in support for workload identity in azure pipelines agents would be better and more elegant. Could you please consider to support this feature?
Looking forward to your feedback.
Best regards,
Xueli Liu
The text was updated successfully, but these errors were encountered:
Describe your feature request here
Dear developers,
We followed Run a self-hosted agent in Docker and set up a pool of custom azure pipelines agents in our Azure Kubernetes Cluster.
In our custom code of start.sh (can be found in the Run a self-hosted agent in Docker link, we manually set AZP_TOKEN by invoking a library describe in Use Microsoft Entra Workload ID with Azure Kubernetes Service (AKS) to interact with Azure DevOps services.
However, the fetched token's lifespan is finite. So at some point the agent needs to fetch a new one again so that the agent won't get stale and still receive new jobs.
It is possible to retrieve one again in the function cleanup() of start.sh. But we believe that having built-in support for workload identity in azure pipelines agents would be better and more elegant. Could you please consider to support this feature?
Looking forward to your feedback.
Best regards,
Xueli Liu
The text was updated successfully, but these errors were encountered: