Crate vault_client[][src]

This is a thick wrapper around the Vault HTTPS API. Tested against Vault 0.7.2. See the API docs or examples for usage.

Structs

CaChain

The type of a non-empty CA chain. This is useful for validating PEM data.

Client

A Vault client. It exposes methods to allow for simple management of its own token and X509 certificates.

Error

The Error type.

Token

Tokens are used by Vault clients to authenticate themselves against a Vault server. This supports only renewable tokens (i.e. created with -period="...").

X509

X509 certificates, as obtained by use of the PKI secret backend. These are most commonly used to secure TLS transports, such as HTTPS.

X509Builder

Constructor for X509

Enums

ErrorKind

The kind of an error.

Statics

MAX_LIFETIME

1 year

Traits

FutureLoggingExt

A trait that allows us to log a Future using an inline function.

ResultExt

Additional methods for Result, for easy interaction with this crate.

ResultLoggingExt

A trait that allows us to log a Result using an inline function.

Type Definitions

Result

Convenient wrapper around std::Result.

VaultClient

A Client already filled in with the default Vault connection implementation.