Documentation ¶ Index ¶ func Decrypt(data []byte) ([]byte, error) func Encrypt(data []byte) ([]byte, error) func IsEnabled() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decrypt ¶ func Decrypt(data []byte) ([]byte, error) func Encrypt ¶ func Encrypt(data []byte) ([]byte, error) func IsEnabled ¶ added in v0.22.0 func IsEnabled() bool IsEnabled returns true if SOPS encryption is configured via environment variables. SOPS is enabled when at least one of DINGO_GCP_KMS_RESOURCE_ID or DINGO_AWS_KMS_KEY_ARNS is set. Types ¶ This section is empty. Source Files ¶ View all Source files sops.go Click to show internal directories. Click to hide internal directories.