Who provides each value, and where Deployz delivers it.
How Deployz finds your variables
When it analyzes your repository, Deployz detects variable names, never values. It looks at:- Reads in your code, such as
process.env.API_KEYoros.environ["API_KEY"] - Sample env files, such as
.env.example - Known third-party services your code uses
.env.example are treated as evidence of the name only. They never reach your containers.
Detection isn’t complete for every pattern. A variable your application reads only indirectly, for example through a dynamic key or a configuration file loaded at runtime, may not appear. You can add it by hand.
Before you have any customer deployments, the application Overview shows Variables need input while variables still need a decision or a value. Select Review required changes to open the variables.
Review and save your variables
Who: you (the vendor), in the Deployz dashboard.1
Open the Variables tab
Open your application, select Configuration, then select Variables.
2
Find the variables that need you
The list opens on the You & customer filter. Select Needs input to see only variables that need a decision or a value. The other filters are Managed, Optional, and All.
3
Review each variable
Each detected variable starts with a suggestion, marked Suggested, and the reason for it. A suggestion with weak evidence, such as a name found only in a sample file, is also marked Uncertain. See How Deployz suggests a setting. Select Review or Edit on a row to change its settings. To take every remaining suggestion as it is, select the accept button above the list, for example Accept 4 suggested decisions.
4
Enter your values
For each variable you provide, enter the value in Value. As soon as you type a value, the row stops showing Needs a value, before you save.
5
Save
Select Save changes. Nothing is saved until you do.
How Deployz suggests a setting
Deployz never saves a suggestion on its own. It suggests Who provides from what the analysis found:
A suggestion is marked Uncertain when the evidence is weak, for example when the only evidence is a sample file such as
.env.example. For When used, see Build or runtime.
Choose who provides each value
In Who provides, choose one option for each variable. The table shows the short form in parentheses.
Managed by Deployz is available only for values Deployz can supply. When it generates a secret, Deployz creates a new random value for each deployment. For the variables Deployz sets in every deployment, see Variables Deployz sets.
Map a variable to a managed value
Your application might read a database or cache setting under a name the analysis can’t recognize. In that case, tell Deployz which value to put there. Who: you (the vendor), in the Deployz dashboard, on Configuration › Variables.- On the variable’s row, choose Managed by Deployz in Who provides. For a name the analysis didn’t detect, select Add managed value instead and enter the name.
- In Value, choose the managed value, for example Database URL, Database host, JDBC URL, Redis URL, or Bucket name. The list shows only the resources your application has.
- Select Save changes.
Add a variable by hand
Who: you (the vendor), in the Deployz dashboard, on Configuration › Variables. Select Add value for a plain value or Add secret for a secret, enter the name and value, then select Save changes. Variables you add are set by you.Build or runtime
In When used, choose when your application reads the variable:- Runtime. The container reads the value when it starts. Most variables are runtime variables.
- Build. The value is used while Deployz builds the container image, for example a variable that a frontend build inlines. You confirm the choice. Deployz suggests Build for:
- Names that start with
NEXT_PUBLIC_,VITE_,REACT_APP_,NUXT_PUBLIC_,EXPO_PUBLIC_,GATSBY_, orPUBLIC_. - A Dockerfile
ARGwithout a default that your production Compose file sets underbuild.args. - A Dockerfile
ARGwithout a default that selects the base image in aFROMline.
- Names that start with
- Only you can provide a build value. Set by customer and Managed by Deployz are runtime only, because every customer gets the same image.
-
Deployz passes each build value to Docker as a build argument. Your Dockerfile must declare an
ARGwith the same name, in the build stage that uses it and before the step that reads it. Without that declaration, the build doesn’t receive the value. For example: - A build value is part of the release’s container image. Anyone who can pull the container image might be able to read it, so don’t use build values for secrets.
- If a required build value has no value, you can’t create a release. The New release form lists the missing names with a Review configuration link.
Required and secret
- Required. The application can’t run without this variable. Deployz checks for missing required values before a deployment starts, and a customer can’t complete the install page until they enter theirs.
- Secret. The value is masked. After you save a secret, the dashboard shows Secret saved and never displays the value again. To change it, enter a new value. A secret value can be up to 4,096 bytes.
Write labels and help text for customers
Who: you (the vendor), in the Deployz dashboard, on Configuration › Variables. For each Set by customer variable, add text that helps the customer enter the right value:- Label: a short, plain name, up to 80 characters, such as “Company SSO domain”.
- Help text: where to find the value or what format to use, up to 300 characters.
How values are protected
- Deployz encrypts saved secret values with AWS Key Management Service (KMS). Secret values aren’t shown in the dashboard, written to logs, or sent to AI features.
- Each deployment’s runtime values, including values you set and your secrets, are stored in the customer’s AWS account so the application can read them. Customers can read them there. Don’t put a secret in a value that customers must not see.
- Build values become part of the release’s container image, so anyone who can pull the image can read them.
What happens when you change a value later
A runtime update finishes only after the new containers are running and healthy. If the update fails, the deployment keeps serving its previous configuration. Fix the value and save it again to retry.
When a decision changes so that a value is no longer delivered, a deployment that’s already running keeps the old value. To change one customer’s values, see Change a customer’s configuration.
If the latest analysis no longer finds a variable you configured, the tab shows Variables not found in the latest analysis. Select Mark not needed for each variable your application no longer reads.
