Documentation
¶
Overview ¶
Package secrets encrypts sensitive application settings with a deployment-managed key.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotConfigured = errors.New("application encryption key is not configured")
ErrNotConfigured indicates that no application encryption key is available.
Functions ¶
func ValidateKey ¶
ValidateKey validates an optional base64-encoded 256-bit encryption key.
Types ¶
type Cipher ¶
type Cipher struct {
// contains filtered or unexported fields
}
Cipher encrypts and decrypts persisted application secrets.
func (*Cipher) Configured ¶
Configured reports whether this process can encrypt and decrypt application secrets.
Click to show internal directories.
Click to hide internal directories.