Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeVaultClient ¶ added in v0.4.2
type FakeVaultClient struct {
// contains filtered or unexported fields
}
func NewTestVault ¶
func NewTestVault(t *testing.T) *FakeVaultClient
NewTestVault creates an unsealed in-memory vault and adds a static KV secret with a base64-encoded field `username` of value "postgres" to `kv/storage/postgres/creds`.
Click to show internal directories.
Click to hide internal directories.