mongodb-oidc-oidc-application-id-uri
Last updated: September 2, 2025
--mongodb-oidc-oidc-application-id-uri is a global parameter for the Liquibase MongoDB Secure extension. It specifies the application ID URI used for OIDC authentication in cloud providers. For example, with Azure: api://8d719796-c744-4352-aab9-47a52c363907.
Specifying this parameter is required for OIDC authentication. However, if --mongodb-oidc-authentication-mechanism is not specified, --mongodb-oidc-environment is optional. It is available in the Liquibase Secure MongoDB extension 1.5.0 and later.
Uses
You can connect Liquibase to your MongoDB Atlas database using OpenID Connect (OIDC). This parameter lets you specify some of your OIDC authentication details. For more guidance on authentication on MongoDB Atlas, see Using Liquibase MongoDB Secure with MongoDB Atlas.
Syntax
You can set this parameter in the following ways:
Option | Syntax |
Liquibase properties file (defaults file) | liquibase.mongodb.oidc.oidcApplicationIDURI: <string> |
Global flow file argument (example) | stages: Default: actions: - type: liquibase command: update globalArgs: { mongodb-oidc-oidc-application-id-uri: <string>" } |
Global CLI parameter | liquibase --mongodb-oidc-oidc-application-id-uri=<true|false> update --changelog-file=example-changelog.xml |
JVM system property JAVA_Opts Environment Variable | Unix: JAVA_OPTS=-Dliquibase.mongodb.oidc.oidcApplicationIDURI=<string> Windows: JAVA_OPTS=-D"liquibase.mongodb.oidc.oidcApplicationIDURI"=<string> |
Liquibase environment variables | LIQUIBASE_COMMAND_CHANGELOG_FILE=<string> |
For more information, see Working with Command Parameters.