--password

Last updated: April 30, 2026

Password to connect to the target database.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--password=<string>

Liquibase properties file (defaults file)

liquibase.command.password: <string>

Command flow file argument (example)

cmdArgs: { password: "<string>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.password=<string>

Liquibase environment variable

LIQUIBASE_COMMAND_PASSWORD=<string>