[][src]Crate keyvault_agent_azure_auth

A library for Azure authentication

Currently supported authentication mechanisms are

  • AzureCLI - obtain tokens from a logged-in Azure CLI
  • ManagedIdentity - obtain tokens from an Azure VM's managed identity or from Cloud Shell
  • UserPassword - authenticate using a username and password
  • Application - authenticate using an application ID and secret

Re-exports

pub use crate::azure_cli::AzureCliAuthenticator;
pub use crate::application::ApplicationAuthenticator;
pub use crate::managed_identity::ManagedIdentityAuthenticator;
pub use crate::user_password::UserPasswordAuthenticator;
pub use crate::error::Error;
pub use crate::error::ErrorKind;

Modules

application
azure_cli
error
managed_identity
user_password

Structs

ApplicationCredential
TokenRequestOptions
TokenResponse
UserPasswordCredential

Enums

Credential

Traits

Authenticator

Trait for asynchronous Azure Active Directory authentication