Crates.io | keyvault-agent-azure-auth |
lib.rs | keyvault-agent-azure-auth |
version | 0.1.0-alpha |
source | src |
created_at | 2020-06-16 08:38:12.755312 |
updated_at | 2020-06-16 08:38:12.755312 |
description | unofficial library for Azure authentication in Rust (experimental) |
homepage | |
repository | https://github.com/JeffSimmer/azure-auth-rs |
max_upload_size | |
id | 254470 |
size | 60,854 |
A library for Azure authentication in Rust.
let authentication_uri = "https://login.windows.net/{tenant}";
let resource_uri = "https://vault.azure.net";
let auth_response = AzureCliAuthenticator::new()
.authenticate(TokenRequestOptions::from_resource_uri(
resource_uri,
authentication_uri,
))
.await;
println!("Auth response: {:?}\n", auth_response);