Environment Variable Security Checklist for Engineering Teams
A short, actionable security checklist for environment variables: storage, encryption, access, rotation, auditing and offboarding. Use it to review your own setup.
Storage
Start with where values physically live.
- Are secrets kept out of Git, chat, tickets and docs?
- Are they stored encrypted at rest? Qikenv encrypts variables with AES-256 before storing them.
- Do you know every place a production secret is currently copied?
Transport
Check how values move between machines.
- Is data sent over TLS? Qikenv uses TLS 1.3 between the CLI and the server.
- Do developers pull values directly instead of forwarding files?
Access
Apply least privilege, and prefer roles over ad hoc sharing.
- Does each person have access only to the projects and environments they need?
- Can only owners write production values?
- Is two-factor authentication turned on for accounts that can read production?
Rotation and auditing
Secrets need a lifecycle, not just a location.
- Can you rotate a key in one place and have everyone pick it up?
- Is there a change history showing who changed what and when?
- Can you restore a variable that was deleted by mistake?
Offboarding
When a teammate leaves, remove their membership, revoke their CLI devices and rotate anything they could read. If this feels hard today, that is a sign secrets are spread across too many places.
Frequently asked questions
How often should I rotate API keys?
Rotate immediately after exposure or when someone with access leaves, and on a regular schedule for high-value keys. Central storage makes each rotation a single update.
What is secret sprawl?
Secret sprawl is when copies of the same credentials end up scattered across chats, files, laptops and tools, so nobody can say where they all are.