Module api

Module api 

Source

Modules§

auth
aws
database
identity
kv1
kv2
pki
ssh
sys
token
transit

Structs§

AuthInfo
The information stored in the optional auth field of API responses
EndpointError
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.
EndpointMiddleware
A MiddleWare for adding version and token information to all requests.
EndpointResult
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.
WrapInfo
The information stored in the optional wrap_info field of API responses
WrappedResponse
Represents an API response that has been wrapped by a unique token.

Traits§

ResponseWrapper
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.