Free tool · AEM as a Cloud Service

Cloud Manager environment variable and secret gap check

See every variable and secret your AEM project expects, and which environment is missing one, before the deployment shows it. Pick a zip of the project or paste files, then paste the variable names set per environment.

For release managers and lead developers before a go-live or when a new environment is added. It runs in your browser: nothing you pick or paste is uploaded, sent to our server or stored. It asks for names and types only, never for values, and it never shows a suspected secret. The rules were read on Adobe's pages on 2 Dec 2026. The tool was not run against Cloud Manager or a real environment.

The sample is made up for this page: a small project and variable lists for three environments, with common mistakes. It was not taken from a real project or a real Cloud Manager program.

1. Your project files
2. The variables set in Cloud Manager (optional)

If a line holds more than a name, a type and a service, the rest is ignored and not kept. The table that the aio command prints has a value column: remove it, or use --json.

Runs in your browser. Nothing you paste or pick is sent to our server or stored.

What it does and does not do

A comparison before the deployment, not a deployment test

What it reads

OSGi configuration files, Dispatcher files, config pipeline YAML and pom.xml, from a zip of up to 50 MB, picked files or a paste. Up to 2,000,000 characters and 3,000 files are read in one run. If you add them, it also reads the names and types of the variables set in each Cloud Manager environment. All of it is read in your browser.

What you get

A table of every variable reference with file and line. A table of gaps per environment: missing, set but not referenced, set with another type, set for one service only. Findings with a level (error, warning or note), a fix to review and the Adobe page each rests on. Downloads as CSV and Markdown.

What it does not do

It does not connect to Cloud Manager and cannot see which variables are really set. It never asks for a value and never shows one: a default or a suspected literal secret is reported by its length only. It does not read Java code. It does not say the deployment will work.

A clean result. A clean result here does not mean the deployment will work. This is a comparison of the references in the files you gave with the names you pasted, against the points listed under Sources. It cannot see Cloud Manager, the values, or code that reads a variable in another way.

Three levels. Error: Adobe's documentation states the rule or says what happens. Warning: Adobe's pages point that way without stating the outcome, or the finding is a guess from a name. Note: Adobe states no rule. Worth a look, not called wrong.

Run mode folders. A reference counts for an environment only when its config folder applies there. When the same PID is configured in several folders, the folder with the most matching run modes is taken for each service and environment type, as Adobe describes. Name your lists dev, stage, prod or rde so the tool knows the type.

Not checked. Not checked: variable values and their length, Java code that reads environment variables, files outside the kinds listed on this page, Dispatcher files included from outside the files read, and whether a default value is right.

Limits. One run reads up to 2,000,000 characters of text, and a zip of up to 50 MB. From a zip, OSGi configuration is read first, then Dispatcher files, then YAML and pom.xml; the result says how many files were left out. These limits are ours, not Adobe's. No account is needed. Questions: contact us

How files are read. This is not a JSON, Apache or YAML parser. It looks for the placeholder forms line by line, and reads a property name only when it starts the line. A placeholder inside a comment is still listed for OSGi files. A commented line in a Dispatcher or YAML file is skipped.

Sources

The rules it follows, and where they are stated

Every statement below was read on the page linked beside it and checked 2 Dec 2026.

Not confirmed by Adobe's documentation

Adobe's pages do not settle these points, or say them in two ways. This is how the page behaves there. None of it was tested against Cloud Manager.

  • This tool was not run against Cloud Manager or a real environment. It cannot see which variables are set: it compares only with the names you paste.
  • Adobe states two limits for variables per environment: 200 on the OSGi page and 400 on the Cloud Manager page. This tool gives a warning above 200 and an error above 400.
  • Adobe's naming rule allows letters, digits and the underscore, but the examples on the same page are server-api-key and server-url, with hyphens. A name that breaks the rule only by a hyphen is a warning here, not an error.
  • Adobe does not say whether the reserved prefixes are case sensitive. This tool matches them as written, in upper case.
  • Adobe does not say what happens when $[secret:NAME] meets a variable of type string, or $[env:NAME] meets a secretString. Both are warnings here.
  • Adobe does not say which folder wins when two config folders match with the same number of run modes, such as config.author and config.dev on a dev author. This tool treats both as in use.
  • Adobe does not say how a variable applied to Preview only, or to one service only, behaves for the Dispatcher. Dispatcher variables are compared by name and type only.
  • Adobe publishes no full list of the variables its runtime gives the Dispatcher. The names this tool accepts without a Define are the ones on Adobe's page and in the default files of Adobe's project archetype. Any other ${NAME} with no Define is a warning, and may still be valid.
  • Adobe does not state what Apache does on AEM as a Cloud Service with a ${NAME} that is defined nowhere. It is a warning here.
  • Adobe does not say whether a config pipeline accepts a variable of type string in ${{NAME}}. Its text speaks of secret-type variables, so a string type is a warning. It also does not explain the secrets. prefix beyond the OpenTelemetry example.
  • The literal secret check is a guess from the property name (password, secret, token, key and the like) and from a private key header. It can miss a secret and it can flag a harmless value. AEM-encrypted values are not recognised.
  • The aio command prints a value column. This tool reads the first word of each line as the name and looks for a type and a service word. It keeps nothing else. A value that happens to be the word author, publish, preview or all could be read as the service. The --json output has no such doubt.
  • The layout of the Cloud Manager Configuration table when copied as text was not checked against a real program. Lines that start with the name, followed by other columns, are read.
  • Whether a Rapid Development Environment takes variables in the same way was not checked. An RDE list is compared like any other.

Questions

Common questions

What happens when an $[env:NAME] variable is not set in an environment?

Adobe's OSGi configuration page says the placeholder is not replaced at runtime and is left in place. If the placeholder carries a default, as in $[env:NAME;default=value], the default is used instead, with no message. This page reports the first case as an error for that environment and the second as a note, so that a default does not hide a variable you meant to set.

How do I list the variables set in a Cloud Manager environment?

In Cloud Manager, open the environment and its Configuration tab. From the command line, Adobe's plugin has aio cloudmanager:environment:list-variables ENVIRONMENTID, with a --json option. Its table has the columns name, type, value, service and status, and a secret is printed as ****. Paste names and types only here. If you paste the --json output, only name, type and service are read from it.

Does this tool need the values of my variables or secrets?

No. It compares names and types. Do not paste values. If a line in a list holds more than a name, a type and a service, the rest is dropped and not kept, and the result tells you how many lines that happened on. A literal value in an OSGi file that looks like a secret is reported by its property name and length. The value itself is never shown and never written to a download.

Which names are allowed for Cloud Manager environment variables?

Adobe's OSGi page says a name has 2 to 100 characters and must match [a-zA-Z_][a-zA-Z_0-9]*. The prefixes INTERNAL_, ADOBE_ and CONST_ are reserved by Adobe, and a variable you set with one of them is ignored. AEM_ is for variables the product defines. The Cloud Manager page says a name can only contain alphanumeric characters and the underscore.

How many variables can one environment have?

Adobe's pages give two figures. The OSGi configuration page says up to 200 variables per environment can be declared. The Cloud Manager environment variables page states a limit of 400 per environment. This page warns above 200 and reports an error above 400. For pipeline variables Adobe states a limit of 200 per pipeline.

Can I use a Cloud Manager secret in the Dispatcher configuration?

No. Adobe says only regular environment variables can be used with the Dispatcher, that secrets cannot, and that environment variables cannot be used in IfDefine directives. This page reports a Dispatcher variable that is set as a secret in one of your lists, and a ${NAME} that has no Define in the files read and is not in a list.

Which run mode folders does AEM as a Cloud Service support?

Adobe lists config, config.author, config.publish, config.dev, config.rde, config.stage and config.prod, and the pairs with the service first, such as config.author.dev and config.publish.prod. Custom run modes are not supported, and a config.preview folder cannot be declared. A folder outside the list is reported as an error, and the references in it are not compared with any environment.

Are my files or my variable names sent to your server?

No. The check runs in your browser. The files you pick or paste and the lists are not uploaded and not stored, and they are gone when you close the tab. The page counts that the tool was used, without the input.

Does a clean result mean my deployment will work?

No. This page compares what is written in the files with the names you paste, against the points listed under Sources. It was not run against Cloud Manager or a real environment, and it cannot see values, code that reads a variable in another way, or a list that is out of date.

Surge Migrate is not affiliated with Adobe and is not an Adobe partner.