- Reference
- Version ยท 6.0.1
- Change Automation Reference
license-file
Last updated: November 23, 2026
license-file is the path to a Liquibase Secure license file downloaded from the Liquibase portal.
Uses
When license-file is set, Liquibase reads the license from that file and does not read license-key. A relative path resolves against the directory Liquibase runs in. If the file cannot be read, the node is unlicensed and liquibase license status reports LB-LIC-0022.
To pass the file's contents instead of its path, use license-key.
Using --license-file alongside --license-endpoint-url
When license-endpoint-url is also set, Liquibase tries the endpoint first and reads the file only when the endpoint gives no license and no cached response is available.
Example: license-file
liquibase --license-file=your_license_file.lic update
Syntax
You can set this parameter in the following ways:
Option | Syntax |
Liquibase properties file (defaults file) |
|
Global flow file argument |
|
Global CLI parameter |
|
JVM system property (JAVA_OPTS environment variable) |
|
Liquibase environment variable |
|