nwolber / vault-rs

Home Page:https://docs.rs/hashicorp_vault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vault

Build Status

HashiCorp Vault API client for Rust.

You can start a local test server running using:

vault server -dev

Record the Root Token: printed at startup time, and use it to create a test token:

export VAULT_ADDR=http://localhost:8200
export VAULT_TOKEN=<root token from server startup>
vault token-create -id="test12345" -ttl="720h"

High Availability

To use this with a highly available vault, you need to either let consul handle DNS for this crate or handle identifying the Vault leader separately.

TODO

  • Add support for managing Vault

About

https://docs.rs/hashicorp_vault


Languages

Language:Rust 99.6%Language:Shell 0.4%