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
Copy file name to clipboardExpand all lines: articles/data-factory/connector-azure-database-for-postgresql.md
+81-2Lines changed: 81 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,11 +83,10 @@ The following properties are supported for the Azure Database for PostgreSQL lin
83
83
|:--- |:--- |:--- |
84
84
| type | The type property must be set to: **AzurePostgreSql**. | Yes |
85
85
| version | The version that you specify. The value is `2.0`. | Yes |
86
+
| authenticationType | Select from basic or service principal authentication | Yes |
86
87
| server | Specifies the host name and optionally port on which Azure Database for PostgreSQL is running. | Yes |
87
88
| port |The TCP port of the Azure Database for PostgreSQL server. The default value is `5432`. |No |
88
89
| database| The name of the Azure Database for PostgreSQL database to connect to. |Yes |
89
-
| username| The username to connect with. Not required if using IntegratedSecurity. |Yes |
90
-
| password| The password to connect with. Not required if using IntegratedSecurity. Mark this field as **SecureString** to store it securely. Or, you can [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). |Yes |
91
90
| sslMode | Controls whether SSL is used, depending on server support. <br/>- **Disable**: SSL is disabled. If the server requires SSL, the connection will fail.<br/>- **Allow**: Prefer non-SSL connections if the server allows them, but allow SSL connections.<br/>- **Prefer**: Prefer SSL connections if the server allows them, but allow connections without SSL.<br/>- **Require**: The connection fails if the server doesn't support SSL.<br/>- **Verify-ca**: The connection fails if the server doesn't support SSL. Also verifies server certificate.<br/>- **Verify-full**: The connection fails if the server doesn't support SSL. Also verifies server certificate with host's name. <br/>Options: Disable (0) / Allow (1) / Prefer (2) **(Default)** / Require (3) / Verify-ca (4) / Verify-full (5) | No |
92
91
| connectVia | This property represents the [integration runtime](concepts-integration-runtime.md) to be used to connect to the data store. You can use Azure Integration Runtime or Self-hosted Integration Runtime (if your data store is located in private network). If not specified, it uses the default Azure Integration Runtime.|No|
93
92
|***Additional connection properties:***|||
@@ -100,6 +99,13 @@ The following properties are supported for the Azure Database for PostgreSQL lin
100
99
| timezone | Gets or sets the session timezone. | No |
101
100
| encoding | Gets or sets the .NET encoding that will be used to encode/decode PostgreSQL string data. | No |
102
101
102
+
### Basic authentication
103
+
104
+
| Property | Description | Required |
105
+
|:--- |:--- |:--- |
106
+
| username | The username to connect with. Not required if using IntegratedSecurity. | Yes |
107
+
| password | The password to connect with. Not required if using IntegratedSecurity. Mark this field as **SecureString** to store it securely. Or, you can [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). | Yes |
108
+
103
109
**Example**:
104
110
105
111
```json
@@ -149,8 +155,81 @@ The following properties are supported for the Azure Database for PostgreSQL lin
149
155
}
150
156
}
151
157
}
158
+
```
159
+
160
+
### Service principal authentication
161
+
162
+
| Property | Description | Required |
163
+
|:--- |:--- |:--- |
164
+
| username | The display name of the service principal | Yes |
165
+
| tenant | The tenant which the Azure Database for PostgreSQL server is located |Yes |
166
+
| servicePrincipalId | Application ID of service principal |Yes |
167
+
| servicePrincipalCredentialType | Select if service principal certificate or service principal key is desired authentication method<br/>- **ServicePrincipalCert**: Set to service principal certificate for service principal certificate.<br/>- **ServicePrincipalKey**: Set to service principal key for service principal key authentication. | Yes |
168
+
| servicePrincipalKey | Client secret value. Used when service principal key is selected | Yes |
169
+
| azureCloudType | Select the Azure cloud type of your Azure Database for PostgreSQL server | Yes |
170
+
| servicePrincipalEmbeddedCert | Service principal certificate file | Yes |
171
+
| servicePrincipalEmbeddedCertPassword | Service principal certificate password if required | No |
0 commit comments