Registry / crypto / getsops-sops-v3

getsops-sops-v3

JSON →
library3.12.2gogounverified

Encrypts and decrypts JSON, YAML, and BINARY documents using multiple master keys for secure secret management.

go get github.com/getsops/sops/v3
INSTALL
IMPORT
SIG · GETSOPS-SOPS-V3
G
getsops-sops-v3
cryptogov3.12.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

decrypt
github.com/getsops/sops/v3/decrypt

Decrypt a SOPS-encrypted YAML file.

package main import ( "fmt" "github.com/getsops/sops/v3/decrypt" ) func main() { data, err := decrypt.File("secrets.enc.yaml", "yaml") if err != nil { panic(err) } fmt.Println(string(data)) }
Debug
Known issues
breakingOnly the decrypt subpackage has a stable API; other packages may change without notice.
fix
Use github.com/getsops/sops/v3/decrypt for decryption; avoid importing other subpackages directly.
affects: >=3.0.0
Upgrade
Version history
3.12.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
OpenAI (training)
1
Resources
getsops-sops-v3 — go get getsops-sops-v3 · libregistry