Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalSecret ¶
type LocalSecret struct { kms.BaseSecret MasterKey string }
LocalSecret defines a SecretProvider that use a locally provided symmetric key
func (*LocalSecret) Decrypt ¶
func (s *LocalSecret) Decrypt() error
func (*LocalSecret) Encrypt ¶
func (s *LocalSecret) Encrypt() error
func (*LocalSecret) GetMode ¶
func (s *LocalSecret) GetMode() int
GetMode returns the encryption mode
func (*LocalSecret) GetPayload ¶
func (s *LocalSecret) GetPayload() string
GetPayload returns the secret's payload
Click to show internal directories.
Click to hide internal directories.