-
Notifications
You must be signed in to change notification settings - Fork 127
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 #5116
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. |
From cross-language discussion:
This way, existing Az Cli version continue to work which doesn't have the new field and newer versions have no ambiguity in parsing. Note: We don't do any validation or semantic comparison within the SDK for the two fields being equal, and parse the string values, as is. Current implementation in other languages: |
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: