inframan.yaml, env groups, secrets, connections, and variables Inframan sets for you. Secret values never go into your repository. They’re stored in your own cloud’s secret manager, and inframan.yaml refers to them by name.
Plain variables
Set them underenv in inframan.yaml:
inframan.yaml
inframan.yaml. Merging it is the push that rolls the change out. While that pull request is open, further edits are blocked.
Env groups
An env group is a named set of variables that several services share, such as the URLs of third-party APIs. Groups belong to an infrastructure.- Open the infrastructure and select the Env groups tab.
- Create a group and add its variables.
- Attach it to services by name:
inframan.yaml
Secrets
Secrets are infrastructure secrets: values kept in your cloud account’s secret manager, Secret Manager on Google Cloud or AWS Secrets Manager on AWS. Inframan stores only a reference to them.- Open the infrastructure and select the Secrets tab.
- Add the secret with a name, such as
stripe-key, and its value. - Reference it from a service, choosing the variable name:
inframan.yaml
envGroups like any other group.
Viewers can see secret names but never their values. A connected AI assistant can list secret names, but it can’t create secrets or set values.
Secrets at build time
A secret marked for builds is handed to Docker BuildKit as a secret mount, not as a build argument, so it never ends up in an image layer. In yourDockerfile, read it from the inframan_build_secrets secret:
Dockerfile
KEY=value line per secret, and each value is base64-encoded so that newlines and special characters survive, so decode it as above. Build secrets are set on the service’s Environment tab.
Variables Inframan sets
Every web service receives:
A variable is only set when Inframan has a value for it.
Precedence
When the same variable name comes from more than one place, the first one in this list wins:- Connections. A plain variable with the same name is dropped.
envininframan.yaml.- Variables Inframan sets.
secretsininframan.yaml.- Env groups, with later groups winning over earlier ones, and a group’s secret values winning over its plain ones.
Per environment
Override variables for production or non-production underenvironments in inframan.yaml. See Environment overrides.