Modules§
Structs§
- Auth
Info - The information stored in the optional
authfield of API responses - Endpoint
Error - 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.
- Endpoint
Middleware - A MiddleWare for adding version and token information to all requests.
- Endpoint
Result - 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
datafield. - Wrap
Info - The information stored in the optional
wrap_infofield of API responses - Wrapped
Response - Represents an API response that has been wrapped by a unique token.
Traits§
- Response
Wrapper - Provides a method for wrapping Endpoints
Functions§
- auth
- exec_
with_ empty - Executes an Endpoint which is expected to return an empty HTTP response.
- exec_
with_ empty_ result - Executes an Endpoint which is expected to return an empty API result.
- exec_
with_ no_ result - Executes an Endpoint which is expected to return an unwrapped response.
- exec_
with_ result - Executes an Endpoint and returns the result.
- wrap
- Executes the given endpoint but requests that the Vault server to return a token wrapped response.