# Functions
GetMockTokenServer returns a stub http test server for dealing with token lookup-self and renew-self API calls.
NewClient constructs a Vault *Client which communicates with Vault via HTTP(S) lc is any logging client that implements the loggingClient interface; today EdgeX's logger.LoggingClient from go-mod-core-contracts satisfies this implementation.
NewSecretsClient constructs a Vault *Client which communicates with Vault via HTTP(S) for basic usage of secrets.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
nolint: gosec.
nolint: gosec.
No description provided by the author
No description provided by the author
No description provided by the author
nolint: gosec.
No description provided by the author
No description provided by the author
No description provided by the author
NamespaceHeader specifies the header name to use when including Namespace information in a request.
No description provided by the author
No description provided by the author
nolint: gosec.
nolint: gosec.
No description provided by the author
# Structs
Client defines the behavior for interacting with the Vault REST secret key/value store via HTTP(S).
EnableSecretsEngineRequest is the POST request to /v1/sys/mounts.
ErrCaRootCert error when the provided CA Root certificate is invalid.
No description provided by the author
InitRequest contains a Vault init request regarding the Shamir Secret Sharing (SSS) parameters.
ListSecretEnginesResponse is the response to GET /v1/sys/mounts.
ListTokenAccessorsResponse is the response to the list accessors API.
LookupAccessorRequest is used by accessor lookup API.
parameters structure for request method.
RevokeTokenAccessorRequest is the input to the revoke token by accessor API.
RootTokenControlResponse is the response to /v1/sys/generate-root/attempt.
RootTokenRetrievalRequest is the request to /v1/sys/generate-root/update.
RootTokenRetrievalResponse is the response to /v1/sys/generate-root/update.
SecretsEngineConfig is config for /v1/sys/mounts.
No description provided by the author
No description provided by the author
UnsealRequest contains a Vault unseal request.
UnsealResponse contains a Vault unseal response.
UpdateACLPolicyRequest contains a ACL policy create/update request.