Giter Club home page Giter Club logo

Comments (8)

fangjian0423 avatar fangjian0423 commented on June 9, 2024 2

@hui1110

QuickStart for PostgreSQL passwordless need to be written in Quickstart: Use Java and JDBC with Azure Database for PostgreSQL Flexible Server, we can refer this link.

QuickStart for MySQL passwordless has been written before.

from spring-cloud-azure.

fangjian0423 avatar fangjian0423 commented on June 9, 2024 1

Differences between single server and flexible server, we need mention them in flexible docs.

  1. postgresql single server has only one Azure AD administrator but pg flexible server may have more than 1

  2. Manage Azure AD roles using SQL is different

flexible server: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-manage-azure-ad-users
single server: https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-data-jdbc-with-azure-postgresql?tabs=passwordless#create-a-postgresql-non-admin-user-and-grant-permission

from spring-cloud-azure.

backwind1233 avatar backwind1233 commented on June 9, 2024 1

The command to set up Azure AD Admins for PostgreSQL Flexible Server using Azure CLI will be released next month and will continue to update the documentation after the command is released.

az postgres server ad-admin create \
    --resource-group $AZ_RESOURCE_GROUP \
    --server-name $AZ_DATABASE_SERVER_NAME \
    --display-name $CURRENT_USERNAME \
    --object-id $CURRENT_USER_OBJECTID

-->

az postgres flexbile-server ad-admin create \
    --resource-group $AZ_RESOURCE_GROUP \
    --server-name $AZ_DATABASE_SERVER_NAME \
    --display-name $CURRENT_USERNAME \
    --object-id $CURRENT_USER_OBJECTID

we can check the release note.

from spring-cloud-azure.

hui1110 avatar hui1110 commented on June 9, 2024 1

Created PR:https://github.com/MicrosoftDocs/azure-dev-docs-pr/pull/3910

from spring-cloud-azure.

hui1110 avatar hui1110 commented on June 9, 2024 1

PR merged, now close this issue.

from spring-cloud-azure.

hui1110 avatar hui1110 commented on June 9, 2024

https://github.com/MicrosoftDocs/azure-docs-pr/pull/217351

from spring-cloud-azure.

hui1110 avatar hui1110 commented on June 9, 2024

The command to set up Azure AD Admins for PostgreSQL Flexible Server using Azure CLI will be released next month and will continue to update the documentation after the command is released.

az postgres server ad-admin create \
    --resource-group $AZ_RESOURCE_GROUP \
    --server-name $AZ_DATABASE_SERVER_NAME \
    --display-name $CURRENT_USERNAME \
    --object-id $CURRENT_USER_OBJECTID

-->

az postgres flexbile-server ad-admin create \
    --resource-group $AZ_RESOURCE_GROUP \
    --server-name $AZ_DATABASE_SERVER_NAME \
    --display-name $CURRENT_USERNAME \
    --object-id $CURRENT_USER_OBJECTID

from spring-cloud-azure.

fangjian0423 avatar fangjian0423 commented on June 9, 2024

Created PR:MicrosoftDocs/azure-dev-docs-pr#3910

This PR don't include JDBC quickstart and JPA quickstart docs.

from spring-cloud-azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.