cURL
curl --request GET \ --url https://us.infisical.com/api/v1/app-connections/postgres/connection-name/{connectionName}
{ "appConnection": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "app": "postgres", "method": "username-and-password", "credentials": { "host": "<string>", "database": "<string>", "port": 123, "username": "<string>", "sslEnabled": true, "sslRejectUnauthorized": true, "sslCertificate": "<string>" }, "description": "<string>", "version": 1, "isPlatformManagedCredentials": false, "gatewayId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "projectId": "<string>", "credentialsHash": "<string>", "project": { "name": "<string>", "id": "<string>", "type": "<string>", "slug": "<string>" } } }
Get the specified PostgreSQL Connection by name.
The name of the PostgreSQL Connection to retrieve.
1
The project ID of the PostgreSQL Connection is associated with. Leave unspecified to get organization-level connections.
Default Response
Show child attributes
Was this page helpful?