Change PostGreSQL Authentication Using Azure CLI

Glenn Escarayan 141 Reputation points
2023-04-08T06:57:38.03+00:00

Hi Microsoft Team, Is there a way to change the Authentication method of PostgreSQL using azure cli or powershell command? Please advise. Thanks, GCE

Azure Database for PostgreSQL
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

1 answer

Sort by: Most helpful
  1. RahulRandive 10,506 Reputation points
    2023-04-08T12:10:51.9966667+00:00

    Thanks for your question. With Azure Active Directory (Azure AD), it is possible to authenticate users when connecting to PostgreSQL, and you can use the Azure CLI to set up and manage the authentication process. The below article will walk you through the steps how to configure Azure Active Directory access with Azure Database for PostgreSQL, and how to connect using an Azure AD token. Start by authenticating with Azure AD using the Azure CLI tool. https://learn.microsoft.com/en-gb/azure/postgresql/single-server/how-to-configure-sign-in-azure-ad-authentication?WT.mc_id=Portal-Microsoft_Azure_Support#authenticate-with-azure-ad-as-a-single-user Please let us know if you are looking for any additional information. Thank you!

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.