The Deploy CLI can be used as a standalone command line utility. Doing so provides a simple way to manage your Auth0 tenant configuration in CI/CD workflows. Refer to the Configuring the Deploy CLI documentation for a comprehensive list of configuration settings.
Fetching configurations from Auth0 tenant to the local machine.
Path. Specifies the target directory for configuration files to be written to.
Path. Specifies the user-defined configuration file (config.json
). Refer to the list of all configurable properties.
Options: yaml or directory. Determines the file format of the exported resource configuration files. See: Available Resource Config Formats.
Boolean. When enabled, will export the identifier fields for each resource. Default: false
.
Boolean. Indicates if the tool should ingest environment variables or not. Default: true
.
Boolean. Enables more verbose error logging; useful during troubleshooting. Default: false
.
A url for proxying requests. Only set this if you are behind a proxy.
# Fetching Auth0 tenant configuration in the YAML format
a0deploy export -c=config.json --format=yaml --output_folder=local
# Fetching Auth0 tenant configuration in directory (JSON) format
a0deploy export -c=config.json --format=directory --output_folder=local
# Fetching Auth0 tenant configurations with IDs of all assets
a0deploy export -c=config.json --format=yaml --output_folder=local --export_ids=true
Applying configurations from local machine to Auth0 tenant.
Path. Specifies the location of the resource configuration files. For YAML formats, this will point to the tenant.yaml
file, for directory formats, this will point to the resource configuration directory.
Path. Specifies the user-defined configuration file (config.json). Refer to the list of all configurable properties.
Boolean. Indicates if the tool should ingest environment variables or not. Default: true
.
A url for proxying requests. Only set this if you are behind a proxy.
Boolean. Enables more verbose error logging; useful during troubleshooting. Default: false
.
# Deploying configuration for YAML formats
a0deploy import -c=config.json --input_file=local/tenant.yaml
# Deploying configuration for directory format
a0deploy import -c=config.json --input_file=local
# Deploying configuration with environment variables ignored
a0deploy import -c=config.json --input_file=local/tenant.yaml --env=false