Cargo Features

[dependencies]
azure_identity = { version = "0.21.0", default-features = false, features = ["enable_reqwest", "enable_reqwest_rustls", "development", "client_certificate", "vendored_openssl", "test_e2e", "old_azure_cli"] }
default = development, enable_reqwest, old_azure_cli

These default features are set whenever azure_identity is added without default-features = false somewhere in the dependency tree.

enable_reqwest default

Enables enable_reqwest of azure_core

enable_reqwest_rustls

Enables enable_reqwest_rustls of azure_core

development default

Affects azure_identity::development

client_certificate = openssl

Affects specific_azure_credential::azure_credential_kinds.CLIENT_CERTIFICATE

vendored_openssl

Enables vendored of openssl

azureauth_cli test_e2e
old_azure_cli default = tz-rs

If you are using and Azure CLI version older than 2.54.0 from November 2023, upgrade your Azure CLI version or enable this feature. Azure CLI 2.54.0 and above has an "expires_on" timestamp that we can use. https://github.com/Azure/azure-cli/releases/tag/azure-cli-2.54.0 https://github.com/Azure/azure-cli/issues/19700

Enables local-offset of time

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

openssl client_certificate? vendored_openssl?
tz-rs unix old_azure_cli

Enables tz-rs ^0.6