Skip to content

0008: Secrets with SOPS and age ​

Context ​

The old pipeline passed secrets as plaintext environment variables to staging for 30 days.

Decision ​

Secrets are encrypted with SOPS and age and kept in the repo. The age key lives on the NAS and in the owner's password manager. The pipeline holds no HMRC, Xero or Cloudflare credentials.

Consequences ​

The owner installs sops and age. The token encryption key is separate from the backup key.