Documentation ¶
Index ¶
Constants ¶
View Source
const ( VaultPermissionError = "Code: 403" EncryptionAction = "encrypt" DecryptionAction = "decrypt" )
Variables ¶
View Source
var ( Create = NewVaultClient Login = wrappedLogin NewClient = wrappedNewVClient ErrVaultMissingKeys = errors.New("no key references passed") )
Functions ¶
This section is empty.
Types ¶
type VaultClient ¶
type VaultClient struct {
// contains filtered or unexported fields
}
func NewTestingClient ¶
func NewTestingClient(tb testing.TB) (*VaultClient, func(), error)
NewTestingClient creates a test vault cluster and returns a configured API client and closer function.
func NewVaultClient ¶
func NewVaultClient(settings *VaultSettings, ctx context.Context) (*VaultClient, error)
func (*VaultClient) RenewClient ¶
func (v *VaultClient) RenewClient(ctx context.Context) error
type VaultSettings ¶
Click to show internal directories.
Click to hide internal directories.