Where secrets are stored
inframan.yaml refers to secrets by name only. See Environment variables and secrets.
How secrets reach a service
- When you set a secret, its value is held encrypted for at most 10 minutes while Inframan writes it to your secret manager. Only a short-lived claim token passes through Inframan’s workflows, so the value never appears in workflow history or logs.
- At deploy time, Inframan reads the value from your secret manager and writes it into a Kubernetes Secret in the application’s namespace.
- The service reads it as an environment variable that refers to the Kubernetes Secret. The value isn’t written into the workload’s spec.
Secrets in builds
Secrets marked for builds are handed to Docker BuildKit as a secret mount. They’re available to theRUN steps that ask for them and are never written into an image layer or the image’s history. When builds run in the cluster, the secrets file lives on memory-backed storage. See Secrets at build time.
Who can see secrets
An export, from the infrastructure’s Env groups or Secrets tab, downloads every env group, secret group and secret of the infrastructure as one JSON file, with every value in plain text. Keep it somewhere safe.
Anyone with a kubectl tunnel has full rights on the cluster, which includes reading Kubernetes Secrets. That’s why only Admins can open one.