Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct some word errors and add a picture in readme. #32536

Merged
merged 7 commits into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ MySQL)[Azure Active Directory for authenticating with MySQL]

### Architecture

This picture shows how the jdbc authentication plugin for MySQL authenticating with MSI.
This picture shows how the jdbc authentication plugin for MySQL authenticating with managed identity.

![mysql_design.png](img/mysql_design.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ PostgreSQL)[Use Azure Active Directory for authenticating with PostgreSQL]

### Architecture

This picture shows how the jdbc authentication plugin for PostgreSQl authenticating with MSI.
This picture shows how the jdbc authentication plugin for PostgreSQl authenticating with managed identity.

![postgresql_design.png](img/postgresql_design.png)

1. The JDBC auth plugin will get an access token from Azure AD.
2. The JDBC driver will take the token obtained from step 1 as the password ( `token as password`) to connect with the MySQL server.
3. The MySQL server will check the access token and authenticate internally.
2. The JDBC driver will take the token obtained from step 1 as the password ( `token as password`) to connect with the PostgreSQL server.
3. The PostgreSQL server will check the access token and authenticate internally.

### Token as password

Expand Down
7 changes: 7 additions & 0 deletions sdk/identity/azure-identity-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ Azure Identity Extensions contains a common template framework for users to get
use the token as a password. For example, to connect Azure hosted MySQL, get a token from Azure AD and use the
token as a password to connect with MySQL.

## Architecture

### Authenticating with JDBC

This picture shows how the JDBC authentication plugins provided by Azure Identity Extensions authenticate with managed identity?
backwind1233 marked this conversation as resolved.
Show resolved Hide resolved
![Architecture](img/passwordless-connections-from-java-apps-to-data-services.jpg)

## Examples
For documentation on how to use this package, please refer to [Quickstart:Use Java and JDBC with Azure Database for MySQL](https://aka.ms/passwordless/quickstart/mysql) and [Quickstart:Use Java and JDBC with Azure Database for PostgreSQL](https://aka.ms/passwordless/quickstart/postgresql).

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.