package
3.2.0-dev.19
Repository: https://github.com/edgexfoundry/go-mod-secrets.git
Documentation: pkg.go.dev

# 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
No description provided by the author

# Structs

Accessor.
Client defines the behavior for interacting with the Vault REST secret key/value store via HTTP(S).
CreateEntityAliasRequest is used to bind an authenticator to an identity.
CreateNamedKeyRequest is the request to POST /v1/identity/oidc/key/:name:.
CreateOrUpdateIdentityRoleRequest is the request to POST /v1/identity/oidc/role/:name.
CreateOrUpdateUserRequest is used to create a vault login.
CreateOrUpdateUserResponse is the response to get entity by name.
CreateUpdateEntityRequest enables or updates a Vault Identity.
CreateUpdateEntityResponse is the response to CreateUpdateEntityRequest.
EnableAuthMethodRequest enables a Vault Identity authentication method.
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.
JsonID.
ListAuthMethodsResponse is used to look up the accessor ID of an auth method.
ListNamedKeysResponse is the response to LIST /v1/identity/oidc/key.
ListSecretEnginesResponse is the response to GET /v1/sys/mounts (and /v1/sys/auth).
ListTokenAccessorsResponse is the response to the list accessors API.
LookupAccessorRequest is used by accessor lookup API.
ReadEntityByNameResponse is the response to get entity by name.
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.
UserPassLoginRequest is used to to log in an identity with the userpass auth engine.