dbx
provides access to it's functions in a cli-oriented fashion.
Each individual command has a detailed help screen accessible via dbx command_name --help
.
We encourage you to use dbx
both for local development and CI/CD pipelines.
Note
dbx
works with your PAT (Personal Access Token) in exactly the same way as databricks-cli.
This means that if the following environment variables:
DATABRICKS_HOST
DATABRICKS_TOKEN
are defined, dbx
will use them to perform actions.
It allows you to securely store these variables in your CI/CD tool and access them from within the pipeline. In general, we don't recommend storing your tokens into the config file inside the CI pipeline, since this might be insecure. For Azure-based environments, you can also consider using AAD-based authentication. For local development, please use the Databricks CLI profiles - it's very convenient for cases when you're working with multiple environments.
.. click:: dbx.cli:cli :prog: dbx :nested: full