你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
This package contains the jdbc authentication plugin to authenticate with Azure AD for Azure hosted PostgreSQL services.
Getting started
Prerequisites
- An Azure account with an active subscription. Create an account for free.
- Java Development Kit (JDK) with version 8 or above.
- Apache Maven.
Include the package
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity-providers-jdbc-postgresql</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-identity-providers-jdbc-postgresql;current} -->
</dependency>
Key concepts
This picture shows how the jdbc authentication plugin for PostgreSQl authenticating with MSI.
Examples
For documentation on how to use this package, please refer to Quickstart:Use Java and JDBC with Azure Database for PostgreSQL.
Troubleshooting
If you encounter any bugs, please file issues via Issues.
Next steps
Contributing
For details on contributing to this repository, see the contributing guide.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request