Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoLock ¶
type NoLock struct{}
NoLock is a secret lock service that does no key wrapping (keys are not encrypted).
func (*NoLock) Decrypt ¶
func (s *NoLock) Decrypt(keyURI string, req *secretlock.DecryptRequest) (*secretlock.DecryptResponse, error)
Decrypt a key in req using master key in the local secret lock service Noop implementation returns the key as is with no decryption (keyURI is used for remote locks, it is ignored by this implementation).
func (*NoLock) Encrypt ¶
func (s *NoLock) Encrypt(keyURI string, req *secretlock.EncryptRequest) (*secretlock.EncryptResponse, error)
Encrypt a key in req using master key in the local secret lock service Noop implementation returns the key as is with no encryption (keyURI is used for remote locks, it is ignored by this implementation).
Click to show internal directories.
Click to hide internal directories.