Skip to main content

Configuring an ADF Linked Service Connection for PostgreSQL

note

For information on how to enable a connection for use with linked services, see Configuring a Linked Service Connection.

After selecting PostgreSQL from the Linked Service Type dropdown, the form required for creating a PostgreSQL Linked Service will appear.

PostgreSQL Linked Service Form

Required Fields​

The required fields are:

Optional fields are:

Connect via Integration Runtime​

Connect via Integration Runtime names the integration runtime for a PostgreSQL Linked Service connection. The default value is AutoResolveIntegrationRuntime. To use another runtime, select it from the dropdown or choose + New to add one. The custom values that appear in this dropdown can be maintained in Settings under Azure - AzureIntegrationRuntime.

Connection String​

A connection to a PostgreSQL Linked Service requires a Connection String. The required properties for the Connection String are Server Name, Database Name, Encryption Method, Validate Server Certificate, User Name, and Password. The Linked Service connection form will provide text boxes for these values and will use them to construct the connections string.

note

The form offers no Azure Key Vault tab for the connection string. Store the Password in Azure Key Vault on the Azure Key Vault tab of the Password field, the one secret path for a PostgreSQL linked service.

Encryption Method​

The PostgreSQL Linked Service connection can use SSL Encryption, Request SSL Encryption, or use No Encryption. When No Encryption is used, Validate Server Certificate is not required. No Encryption is the default.

BimlFlex reads the server, database, port, Encryption Method, User Name and Password from the stored connection string and does not read a connection string Azure Key Vault secret. A connection that still stores one keeps it and shows its User Name and Password on the form, and the build reports the connection by name as a warning that the stored secret is not read.

Validate Server Certificate​

Validate Server Certificate

The checkbox for Validate Server Certificate will only appear when SSL or Request SSL are selected in the Encryption Method dropdown. The default value is unchecked, or false.

Password​

Password will be used by the Linked Service form for authentication with the PostgreSQL Linked Service. Password is required, entered as text on the Password tab or held in Azure Key Vault on the Azure Key Vault tab beside it.

note

It is suggested that Azure Key Vault be used in place of manually entering the password.

Additional Connection String Properties​

Any additional properties entered here will be included in the Connection String. These properties should be entered the same way you want them to appear in the Connection String and separated by a semicolon, e.g. key=value;secondKey=secondValue.

Values entered in the Additional Connection String Properties textbox will be maintained when changing Linked Service types. If a required property from one service type does not have a corresponding text box in the newly selected Linked Service type, it will appear as an additional property.

Azure Data Factory Linked Services Additional Information​

For additional information on ADF Linked Service types and their connection requirements see the Azure Data Factory PostgreSQL Connector documentation.