Vault IAM Authentication

crates.io Released API docs MIT licensed

Tiny library for Vault authentication using the AWS IAM engine.

Example

The authenticate function returns a serde_json::Value of the standard Vault login API response body.

```rs use vaultiamauth::authenticate;

[tokio::main]

async fn main() -> Result<(), Box> { let resp: serde_json::Value = authenticate("https://vault.address.com", "aws", "my-role", None).await?; Ok(()) } ```