Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
AuthConfig describes how the Client should be configured in regard to authentication.
type Client ¶
type Client struct { // Config configures how the Vault client will interact with Vault. Config *Config // contains filtered or unexported fields }
Client is a resource for interacting with Vault.
func (*Client) API ¶
API is a direct client to the Vault HTTP engine, enabling manual execution against Vault.
func (*Client) Auth ¶
Auth is a gateway into Vault authentication.
See https://www.vaultproject.io/api-docs/auth for more information.
func (*Client) DB ¶
DB is a gateway into the database secrets engine.
For more information, see https://www.vaultproject.io/docs/secrets/databases.
func (*Client) KV ¶
KV is a gateway into the key-value secrets engine.
For more information, see https://www.vaultproject.io/docs/secrets/kv.
type Config ¶
type Config struct { URL string HTTP HTTPConfig Auth AuthConfig }
Config describes how the Client should be configured.
type HTTPConfig ¶
HTTPConfig describes how the HTTP client should be configured.
Directories ¶
Path | Synopsis |
---|---|
Package api provides functionality for making requests against the Vault API.
|
Package api provides functionality for making requests against the Vault API. |
Package auth contains all the functionality necessary for authenticating with Vault.
|
Package auth contains all the functionality necessary for authenticating with Vault. |
Package db contains all the functionality necessary for interacting with Vault's database secrets engine.
|
Package db contains all the functionality necessary for interacting with Vault's database secrets engine. |
internal
|
|
testcontainerpostgres
Package testcontainerpostgres is an internal testing utility that aids in setting up a Postgres container.
|
Package testcontainerpostgres is an internal testing utility that aids in setting up a Postgres container. |
testcontainervault
Package testcontainervault is an internal testing utility that aids in setting up a Vault container.
|
Package testcontainervault is an internal testing utility that aids in setting up a Vault container. |
Package kv contains all the functionality necessary for interacting with Vault's KV secrets engine.
|
Package kv contains all the functionality necessary for interacting with Vault's KV secrets engine. |
Package transit contains all the functionality necessary for interacting with Vault's transit secrets engine.
|
Package transit contains all the functionality necessary for interacting with Vault's transit secrets engine. |