Expand description
§Azure Identity Helpers
azure-identity-helpers provides unofficial utility components for handling
Azure authentication and identity management in Rust applications.
This crate offers helper components for Azure authentication scenarios, including AzureAuth CLI integration, credential chaining, device code authentication, and refresh token handling.
§Modules
azureauth_cli_credentials: Implements AzureAuth CLI based authentication.chained_token_credential: Implements credential chaining to try multiple authentication methods.default_azure_credential: Recreates GoDefaultAzureCredentialusing the currently supported Rust credential types. On non-wasm32targets, the default order is environment, workload identity, managed identity, Azure CLI, and Azure Developer CLI. Onwasm32, the default order is environment, workload identity, and managed identity.AzurePowerShellCredentialis not currently implemented in this crate.device_code: Provides device code flow authentication support for Azure services.device_code_credential: Implements a credential that can authenticate using device code flow. Uses thedevice_codemodule’s functionality.environment_credential: Recreates anEnvironmentCredential-style helper for service principal authentication from environment variables.oauth_error: Shared OAuth 2.0 error response type (RFC 6749 §5.2) used by the device-code and refresh-token endpoints on failure.refresh_token: Handles refresh token operations for maintaining authentication sessions.
Modules§
- azureauth_
cli_ credentials - AzureAuth CLI based authentication.
- chained_
token_ credential - Credential chaining: try multiple
TokenCredentialsources in order until one succeeds. - default_
azure_ credential DefaultAzureCredential.- device_
code - Authorize using the device authorization grant flow
- device_
code_ credential DeviceCodeCredential: aTokenCredentialimplementing the device code OAuth flow on top of the lower-level helpers incrate::device_code.- environment_
credential - Recreates an
EnvironmentCredential-style helper for service principal authentication from environment variables. - oauth_
error - Shared OAuth 2.0 error response shape (RFC 6749 §5.2).
- refresh_
token - Refresh tokens.