Skip to content

Secrets, env vars and where they belong

How code gets built and shipped

Reading 1 of 5

A secret is a value that grants access

API keys, database passwords, signing keys, access tokens. If holding the value lets you do something you otherwise could not, it is a secret.

The test is not whether it looks random. It is whether possession equals permission.

If holding it grants access, it is a secret.