SOPS (Secrets OPerationS) lets you encrypt structured files—YAML, JSON, and ENV—so they can be safely stored in public Git repos. It integrates with multiple key management systems:
Provider
URI Scheme
Google KMS
gcp-kms://…
AWS KMS
awskms://…
Azure Key Vault
azurekeyvault://…
HashiCorp Vault
vault://…
PGP/GPG
pgp:KEYID
For full SOPS documentation, see the Mozilla SOPS GitHub repository.
gpg: key CDF0BCF69E51F marked as ultimately trusted
List and export your keys:
Copy
Ask AI
# List the public keygpg --list-keys CDF0BCF69E51F# Export public and private keysgpg --export --armor CDF0BCF69E51F > sops.pub.ascgpg --export-secret-keys --armor CDF0BCF69E51F > sops.private.asc