# Functions
No description provided by the author
ErrorResponse is used to format an error response.
HelpResponse is used to format a help response.
ListResponse is used to format a response to a list operation.
RenewAuthRequest creates the structure of the renew request for an auth.
RenewRequest creates the structure of the renew request.
RevokeRequest creates the structure of the revoke request.
RollbackRequest creates the structure of the revoke request.
This logic was pulled from the http package so that it can be used for encoding wrapped responses as well.
StorageEntryJSON creates a StorageEntry with a JSON-encoded value.
No description provided by the author
TestRequest is a helper to create a purely in-memory Request struct.
TestStorage is a helper that can be used from unit tests to verify the behavior of a Storage impl.
No description provided by the author
# Constants
The operations below are called per path.
No description provided by the author
No description provided by the author
HTTPContentType can be specified in the Data field of a Response so that the HTTP front end can specify a custom Content-Type associated with the HTTPRawBody.
HTTPRawBody is the raw content of the HTTP body that goes with the HTTPContentType.
HTTPStatusCode is the response code of the HTTP body that goes with the HTTPContentType.
No description provided by the author
No description provided by the author
No description provided by the author
The operations below are called globally, the path is less relevant.
No description provided by the author
No description provided by the author
# Variables
ErrInvalidRequest is returned if the request is invalid.
ErrPermissionDenied is returned if the client is not authorized.
ErrUnsupportedOperation is returned if the operation is not supported by the logical backend.
ErrUnsupportedPath is returned if the path is not supported by the logical backend.
# Structs
Auth is the resulting authentication information that is part of Response for credential backends.
BackendConfig is provided to the factory to initialize the backend.
Connection represents the connection information for a request.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InmemStorage implements Storage and stores all data in memory.
LeaseOptions is an embeddable struct to capture common lease settings between a Secret and Auth.
Paths is the structure of special paths that is used for SpecialPaths.
Request is a struct that stores the parameters and context of a request being made to Vault.
Response is a struct that stores the response of a request.
Secret represents the secret part of a response.
No description provided by the author
StorageEntry is the entry for an item in a Storage implementation.
No description provided by the author
# Interfaces
Backend interface must be implemented to be "mountable" at a given path.
No description provided by the author
Storage is the way that logical backends are able read/write data.
SystemView exposes system configuration information in a safe way for logical backends to consume.