Documentation ¶
Overview ¶
Package decrypt is the external API other Go programs can use to decrypt SOPS files. It is the only package in SOPS with a stable API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Data ¶
Data is a helper that takes encrypted data and a format string, decrypts the data and returns its cleartext in an []byte. The format string can be `json`, `yaml`, `ini`, `dotenv` or `binary`. If the format string is empty, binary format is assumed.
func DataWithFormat ¶
DataWithFormat is a helper that takes encrypted data, and a format enum value, decrypts the data and returns its cleartext in an []byte.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.