Documentation
¶
Index ¶
- Variables
- type Binding
- type Envelope
- type KMSConfig
- type Vault
- func (v *Vault) GoString() string
- func (v *Vault) MarshalJSON() ([]byte, error)
- func (v *Vault) Open(b Binding, e Envelope) ([]byte, error)
- func (v *Vault) OpenContext(ctx context.Context, b Binding, e Envelope) ([]byte, error)
- func (v *Vault) OpenRecord(ctx context.Context, b Binding, e Envelope) ([]byte, error)
- func (v *Vault) Rewrap(b Binding, e Envelope) (Envelope, error)
- func (v *Vault) RewrapContext(ctx context.Context, b Binding, e Envelope) (Envelope, error)
- func (v *Vault) Seal(b Binding, value []byte) (Envelope, error)
- func (v *Vault) SealContext(ctx context.Context, b Binding, value []byte) (Envelope, error)
- func (v *Vault) SealRecord(ctx context.Context, b Binding, value []byte) (Envelope, error)
- func (v *Vault) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("credential cannot be decrypted with the configured key and binding")
Functions ¶
This section is empty.
Types ¶
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
func (*Vault) MarshalJSON ¶
func (*Vault) OpenContext ¶
func (*Vault) OpenRecord ¶
func (*Vault) RewrapContext ¶
func (*Vault) SealContext ¶
func (*Vault) SealRecord ¶
Click to show internal directories.
Click to hide internal directories.