Module vaultrs::api

source · []

Modules

Structs

The information stored in the optional auth field of API responses

Represents the format that the Vault server uses when returning errors. This structure is usually accompanied with HTTP error response codes like 404 or 500 in the content body. It is parsed and returned as a ClientError::APIError.

A MiddleWare for adding version and token information to all requests.

Represents the wrapper that mosts responses from the Vault API are wrapped in. It contains data about the response like wrapping info, warnings, and details about any contained leases. The actual response content is contained in the data field.

The information stored in the optional wrap_info field of API responses

Represents an API response that has been wrapped by a unique token.

Traits

Provides a method for wrapping Endpoints

Functions

Executes an Endpoint which is expected to return an empty HTTP response.

Executes an Endpoint which is expected to return an empty API result.

Executes an Endpoint which is expected to return an unwrapped response.

Executes an Endpoint and returns the result.

Executes the given endpoint but requests that the Vault server to return a token wrapped response.