This package contains authentication extensions to get a token from Microsoft Entra ID for Azure services, like Azure Database for MySQL.
- An Azure account with an active subscription. Create an account for free.
- Java Development Kit (JDK) with version 8 or above.
- Here are details about Java 8 client compatibility with Azure Certificate Authority.
- Apache Maven.
Azure Identity Extensions contains a common template framework for users to get a token from Microsoft Entra ID and use the token as a password. For example, to connect Azure hosted MySQL, get a token from Microsoft Entra ID and use the token as a password to connect with MySQL.
This picture shows how the JDBC authentication plugins provided by Azure Identity Extensions authenticate with managed identity.
For documentation on how to use this package, please refer to Quickstart:Use Java and JDBC with Azure Database for MySQL and Quickstart:Use Java and JDBC with Azure Database for PostgreSQL.
If you encounter any bugs, please file issues via Issues.
Other useful docs are:
- With Azure Database for MySQL: Azure identity extensions for Azure Database for MySQL.
- With Azure Database for PostgreSQL: Azure identity extensions for Azure Database for PostgreSQL.
For details on contributing to this repository, see the contributing guide.