Skip to main content

Crate azure_identity_helpers

Crate azure_identity_helpers 

Source
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. Originally from azure_identity 0.20.0.
  • cache: Re-implements the azure-identity caching provider
  • chained_token_credential: Implements credential chaining to try multiple authentication methods. This method has been added to an unreleased version of the upstream azure_identity crate. This will be removed once the updated upstream crate is released.
  • default_azure_credential: Recreates Go DefaultAzureCredential using the currently supported Rust credential types. On non-wasm32 targets, the default order is environment, workload identity, managed identity, Azure CLI, and Azure Developer CLI. On wasm32, the default order is environment, workload identity, and managed identity. AzurePowerShellCredential is not currently implemented in this crate.
  • device_code: Provides device code flow authentication support for Azure services. Originally from azure_identity 0.20.0.
  • devicecode_credentials: Implements a credential that can authenticate using device code flow. Uses the device_code module’s functionality.
  • environment_credential: Recreates an EnvironmentCredential-style helper for service principal authentication from environment variables.
  • refresh_token: Handles refresh token operations for maintaining authentication sessions. Originally from azure_identity 0.20.0.

Modules§

azureauth_cli_credentials
cache
chained_token_credential
default_azure_credential
device_code
Authorize using the device authorization grant flow
devicecode_credentials
environment_credential
Recreates an EnvironmentCredential-style helper for service principal authentication from environment variables.
refresh_token
Refresh tokens.