sops

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL