Liquibase Parameters for MongoDB
You can control the way Liquibase behaves when running commands on your MongoDB database by setting Liquibase parameters. For example, you can use them to configure OIDC authentication on MongoDB Atlas.
For a list of general Liquibase parameters, see Liquibase Parameters.
For more information about MongoDB, see Using Liquibase MongoDB Pro with MongoDB Platforms.
List of parameters
Note: Syntax for each parameter is specified in kebab-case
(CLI and flow file), camelCase
(properties file and JAVA_OPTS
), and MACRO_CASE
(environment variable).
Tip: For best results, specify all commands and parameters in the --kebab-case
format in the CLI. If your preference is camelCase, it also works in the CLI.
Name (--cli , {flow-file} , propertiesFile , ENV_VAR ) |
Type | Description |
---|---|---|
Read more: |
Boolean |
Validates the Liquibase DATABASECHANGELOG and DATABASECHANGELOGLOCK collections on startup. If they are not up to date with the current release, Liquibase adjusts them. It is a best practice to keep this parameter enabled whenever you upgrade to a new Liquibase version. Default: |
Read more: |
String |
Authentication mechanism for MongoDB. Valid values are: |
Read more: |
String |
Cloud provider environment for OIDC authentication. Valid values are: |
Read more: |
String |
Application ID URI used for OIDC authentication in cloud providers. For example, with Azure: |
Read more: |
String |
Client ID of the User-Assigned Identity for OIDC authentication. |
Read more: |
Boolean |
Specifies whether to retry write operations a single time after a failed write. If |
Read more: |
Boolean |
Specifies whether to create the Liquibase tracking collections with validators. Setting this parameter to |