- Reference
- Version ยท 6.0.2
- Change Automation Reference
license-key
Last updated: November 23, 2026
license-key is the Liquibase Secure license key, or the contents of a Liquibase 6 license file, that unlocks Liquibase Secure capabilities on a node.
Uses
Liquibase masks the value in its output, showing only the first 10 characters. The older liquibase.pro.licenseKey property still works but is deprecated.
For a Liquibase 6 license file, license-file avoids pasting its contents. For setup, see License a Change Automation node.
Using --license-key alongside --license-file or --license-endpoint-url
license-key is the last source Liquibase tries. When license-endpoint-url gives a license or a cached response, or license-file is set, Liquibase does not read the key.
Example: license-key
liquibase --license-key=your_license_key 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 |
|