Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSecretKey ¶
func GetSecretKey ¶
Types ¶
type BaseManager ¶
type BaseManager struct {
// contains filtered or unexported fields
}
func (*BaseManager) DecryptYamlData ¶
func (s *BaseManager) DecryptYamlData(data []byte) ([]byte, error)
func (*BaseManager) EncryptYamlData ¶
func (s *BaseManager) EncryptYamlData(data []byte) ([]byte, error)
type Manager ¶
type Manager interface { secret.Secret EncryptYamlData(data []byte) ([]byte, error) DecryptYamlData(encodedData []byte) ([]byte, error) }
func GetManager ¶
func NewManager ¶
func NewManager(key []byte, options NewManagerOptions) (Manager, error)
func NewSafeManager ¶
type NewManagerOptions ¶
type NewManagerOptions struct {
IgnoreWarning bool
}
Click to show internal directories.
Click to hide internal directories.