Skip to content

Field notes on team secrets

Sourced write-ups on .env files, CI tokens, offboarding, contractors and audit logs, and on what a server that stores only ciphertext can and cannot see.

All posts

  • Practices

    Keeping .env.example in sync with every environment

    A .env.example drifts because nothing breaks when it's wrong. Compare names, never values, fail CI on missing variables, and compare real environments.

    Sharing .env files guide

  • Secrets

    Leaked Django SECRET_KEY: what it exposes and how to rotate

    What someone can sign with your Django SECRET_KEY, why the fallback list works against you after a leak, and a rotation order that closes the gap.

    Sharing .env files guide

  • CI/CD

    Masked CI variables still leak: where masking stops

    CI masking replaces exact strings in the job log, nothing more. Encoded values, JSON blobs, artifacts and untrusted pull requests all get past it.

    CI and OIDC guide

Example. Kiteline is a fictional company.

More posts