Skip to main content
In general, the Deploy CLI resource configuration files closely match the payload schemas of the Auth0 Management API, but there are some notable nuances to be aware of.

Client grants

The Deploy CLI’s own client grant is intentionally not exported nor configurable by itself. This is done to prevent breaking changes, otherwise the tool could potentially revoke access or otherwise crash in the midst of an import. In a multi-tenant, multi-environment context, it is expect that new tenants will have a designated client already established for the Deploy CLI, as mentioned in Getting Started.

Prompts

Multilingual custom text prompts follow a particular hierarchy. Under the root-level prompts resource property is a proprietary customText property that is used to bundle custom text translations with other prompts settings. Underneath customText is the two-character language code. Thirdly is the prompt ID, followed by the screen ID, followed by text ID.

Hierarchy

Example

Databases

When managing database connections, the values of options.customScripts point to specific javascript files relative to the path of the output folder. Otherwise, the payload closely matches that of the Auth0 Management API.

YAML example

Folder structure when in YAML mode:
 Contents of tenant.yaml:

Directory example

Folder structure when in directory mode:
Contents of database.json:

Universal Login

Pages

When overriding the with custom HTML, the error, login, , and password reset contents are organized in specific HTML pages.

YAML example

Folder structure when in YAML mode:
Contents of tenant.yaml:

Directory Example

Folder structure when in directory mode:
Contents of login.json:
Contents of error_page.json:
Contents of guardian_multifactor.json:
Contents of password_reset.json: