Azure / azure-sdk-for-rust

This repository is for active development of the *unofficial* Azure SDK for Rust. This repository is *not* supported by the Azure SDK team.
MIT License
692 stars 237 forks source link

use expire_on from Azure CLI 2.54.0 if it exists #1534

Closed cataggar closed 8 months ago

cataggar commented 8 months ago

Related to #1533. Now that https://github.com/Azure/azure-cli/issues/19700 was released with Azure CLI 2.54.0 in November, the expires_on timestamp can be used instead of expiresOn that is a local date. It will be used if present. It will continue to fallback to expiresOn if the old_azure_cli feature is enabled. I added it to default features. May be in 2025, we can remove it from default features.