Documentation ¶
Index ¶
- type Seal
- func (s *Seal) Decrypt(_ context.Context, in *physical.EncryptedBlobInfo) (pt []byte, err error)
- func (s *Seal) Encrypt(_ context.Context, plaintext []byte) (blob *physical.EncryptedBlobInfo, err error)
- func (s *Seal) Finalize(_ context.Context) error
- func (s *Seal) Init(_ context.Context) error
- func (s *Seal) KeyID() string
- func (s *Seal) SealType() string
- func (s *Seal) SetConfig(config map[string]string) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Seal ¶
type Seal struct {
// contains filtered or unexported fields
}
Seal is a seal that leverages Vault's Transit secret engine
func (*Seal) Encrypt ¶
func (s *Seal) Encrypt(_ context.Context, plaintext []byte) (blob *physical.EncryptedBlobInfo, err error)
Encrypt is used to encrypt using Vaults Transit engine
Click to show internal directories.
Click to hide internal directories.