...
| Code Block | ||
|---|---|---|
| ||
<dtp-db-connection>
<db-type>PostgreSQL</db-type>
<user>dtp</user>
<url>jdbc:postgresql://dtp-postgresql.postgres.database.azure.com:5432/DTP?sslmode=require&authenticationPluginClassName=com.azure.identity.extensions.jdbc.postgresql.AzurePostgresqlAuthenticationPlugin&azure.managedIdentityEnabled=true</url>
</dtp-db-connection> |
Note that in the example above, there is no need for the <password> element inside <dtp-db-connection> element since authentication will be delegated to Microsoft Entra. Also note: the parameters sslmode=require and authenticationPluginClassName=com.azure.identity.extensions.jdbc.postgresql.AzurePostgresqlAuthenticationPlugin are required. Separate parameters with an & (ampersand escape sequence).
Troubleshooting
A defect in the MySQL 8.x JDBC connector may cause the database creation process may fail
...