Skip to content
Ring: Adopt Quadrant: ToolsBack to the radar
secretsencryption

SOPS

Secrets that a repository needs are committed as SOPS-encrypted files. Encryption is per value, so a diff still shows which keys changed and a review of a secrets change is a real review rather than an opaque blob swap.

It sits in Adopt for two reasons. Keys are backed by age or a hosted KMS, which makes revoking a reader an operation on the key backend instead of a hunt for every copy of a shared private key. And mise reads SOPS files directly as environment, so a decrypted secret exists for the life of a command rather than sitting on disk waiting to be pasted somewhere it should not go.

Reaching for a different secret format in a repository needs a justification. See EJSON for the one it replaced.

Except as otherwise noted, the content of this repository is licensed under the Creative Commons Attribution 4.0 License and code samples are licensed under the MIT