Skip to content

Commit e588812

Browse files
authored
Merge pull request #120148 from WhiteRabbit-Code/fix-python-example
fix python example
2 parents dc115bb + 5d09faf commit e588812

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/app-service/includes/tutorial-connect-msi-azure-database/code-postgres-mi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
author: xiaofanzhou
2+
author: xfz11
33
ms.service: service-connector
44
ms.topic: include
55
ms.date: 10/20/2023
@@ -95,7 +95,7 @@ For more information, see the following resources:
9595

9696
# Uncomment the following lines according to the authentication type.
9797
# For system-assigned identity.
98-
# credential = DefaultAzureCredential()
98+
# cred = DefaultAzureCredential()
9999

100100
# For user-assigned identity.
101101
# managed_identity_client_id = os.getenv('AZURE_POSTGRESQL_CLIENTID')
@@ -155,4 +155,4 @@ For more information, see the following resources:
155155

156156
-----
157157

158-
For more code samples, see [Create a passwordless connection to a database service via Service Connector](/azure/service-connector/tutorial-passwordless?tabs=user%2Cappservice&pivots=postgresql#connect-to-a-database-with-microsoft-entra-authentication).
158+
For more code samples, see [Create a passwordless connection to a database service via Service Connector](/azure/service-connector/tutorial-passwordless?tabs=user%2Cappservice&pivots=postgresql#connect-to-a-database-with-microsoft-entra-authentication).

articles/service-connector/includes/code-postgres-me-id.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
author: xiaofanzhou
2+
author: xfz11
33
ms.service: service-connector
44
ms.topic: include
55
ms.date: 10/20/2023
@@ -109,7 +109,7 @@ For more tutorials, see [Use Spring Data JDBC with Azure Database for PostgreSQL
109109

110110
# Uncomment the following lines according to the authentication type.
111111
# For system-assigned identity.
112-
# credential = DefaultAzureCredential()
112+
# cred = DefaultAzureCredential()
113113

114114
# For user-assigned identity.
115115
# managed_identity_client_id = os.getenv('AZURE_POSTGRESQL_CLIENTID')

0 commit comments

Comments
 (0)