-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Identity] Evaluate expires_on field in AzureCliCredential #32952
Comments
Marking as blocked until the az cli release ships. |
Az CLI v.2.54.0 has shipped, I was able to obtain it via Winget. |
Office hour discussion conclusion across languages: |
This change is addressed in C++, and similar changes can be made in other languages. The gist is:
PRs in C++ for inspiration, if relevant: |
As of Azure CLI v2.54.0, the
az account get-access-token
command returns a newexpires_on
field containing a POSIX timestamp. This behavior is a departure from previous versions, in which the local datetime was returned in anexpiresOn
field. UpdateAzureCliCredential
to also consider the newexpires_on
field.Related links:
az account get-access-token
: Returnexpires_on
as POSIX timestamp azure-cli#27476The text was updated successfully, but these errors were encountered: