Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access tokens expiration metrics #52

Closed
gillg opened this issue Nov 29, 2021 · 2 comments
Closed

Access tokens expiration metrics #52

gillg opened this issue Nov 29, 2021 · 2 comments

Comments

@gillg
Copy link

gillg commented Nov 29, 2021

Hello,

Because this exporter will probably run on a "technical account" it will be not always obvious to keep attention on azure DevOps email or being in a mailing list.
So a metrics to expose at least the current user (the technical account used for metrics collect) access tokens expiration date would be super useful.

@mblaschke
Copy link
Member

only works with an AzureAD access token (not with a PAT):
https://docs.microsoft.com/en-us/rest/api/azure/devops/tokens/?view=azure-devops-rest-7.1&tabs=powershell

@mblaschke
Copy link
Member

Cannot be solved by exporter using PAT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants