You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A data factory or Synapse workspace can be associated with a [System-assigned managed identity](/azure/data-factory/data-factory-service-identity#system-assigned-managed-identity) that represents the service when authenticating to other resources in Azure. You can use this managed identity for Azure database for PostgreSQL authentication. The designated factory or Synapse workspace can access and copy data from or to your database by using this identity.
163
+
164
+
To use System-assigned managed identity, follow the steps:
165
+
166
+
1. A data factory or Synapse workspace can be associated with a system-assigned managed identity. Learn More, [Generate system-assigned managed identity](/azure/data-factory/data-factory-service-identity#generate-managed-identity)
167
+
168
+
1. The Azure data for PostgreSQL with System assigned managed identity **On**.
169
+
170
+
:::image type="content" source="media/connector-azure-database-for-postgresql/system-managed-identity-configuration.png" alt-text="Screenshot of the system assigned managed identity configuration in the Azure database for PostgreSQL server resource." lightbox="media/connector-azure-database-for-postgresql/system-managed-identity-configuration.png":::
171
+
172
+
1. Configure an Azure database for PostgreSQL linked service.
A data factory or Synapse workspace can be associated with a [User-assigned managed identity](/azure/data-factory/data-factory-service-identity#user-assigned-managed-identity) that represents the service when authenticating to other resources in Azure. You can use this managed identity for Azure database for PostgreSQL authentication. The designated factory or Synapse workspace can access and copy data from or to your database by using this identity.
196
+
197
+
To use user-assigned managed identity authentication, in addition to the generic properties that are described in the preceding section, specify the following properties:
198
+
199
+
| Property | Description | Required |
200
+
|:--- |:--- |:--- |
201
+
| credential | Specify the user-assigned managed identity as the credential object. | Yes |
202
+
203
+
You also need to follow the steps:
204
+
205
+
1. Make sure to create on **User-assigned Managed Identity** resource on Azure portal. To learn more, go to [Manage user-assigned managed identities](/entra/identity/managed-identities-azure-resources/how-manage-user-assigned-managed-identities?pivots=identity-mi-methods-azp)
206
+
1. Assign the **User-assigned Managed Identity** to your Azure database for PostgreSQL resource
207
+
1. In your Azure database for PostgreSQL server resource, under **Security**
208
+
1. Select **Authentication**
209
+
1. Verify if Authentication method is **Microsoft Entra authentication only** or **PostgreSQL and Microsoft Entra authentication**
210
+
1. Click on **+ Add Microsoft Entra administrators** and select your user-assigned managed identity
211
+
212
+
:::image type="content" source="media/connector-azure-database-for-postgresql/user-managed-identity-postgresql-configuration.png" alt-text="Screenshot of the user-assigned managed identity configuration in the Azure database for PostgreSQL server." lightbox="media/connector-azure-database-for-postgresql/user-managed-identity-postgresql-configuration.png":::
213
+
214
+
1. Assign the **User-assigned Managed Identity** to your Azure Data Factory resource
215
+
1. Select **Settings** and then **Managed Identities**
216
+
1. Under the **User assigned** tab. Click on the **+ Add** and select your user-managed identity
217
+
218
+
:::image type="content" source="media/connector-azure-database-for-postgresql/data-factory-user-identity-configuration.png" alt-text="Screenshot of the user-assigned managed identity configuration in the Azure Data Factory resource." lightbox="media/connector-azure-database-for-postgresql/data-factory-user-identity-configuration.png":::
219
+
220
+
1. Configure an Azure database for PostgreSQL linked service.
0 commit comments