cURL
PostgreSQL
Create
Create a PostgreSQL Connection.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://infisical-docs-self-host-infra.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Check out the configuration docs for PostgreSQL
Connections to learn how to obtain the
required credentials.
Body
application/json
The method used to authenticate with PostgreSQL.
Available options:
username-and-password The credentials used to connect with PostgreSQL.
The name of the PostgreSQL Connection to create. Must be slug-friendly.
Required string length:
1 - 64An optional description for the PostgreSQL Connection.
Maximum string length:
256The ID of the project to create the PostgreSQL Connection in.
Whether or not the PostgreSQL Connection credentials should be managed by Infisical. Once enabled this cannot be reversed.
The Gateway ID to use for this connection.
Not supported for PostgreSQL Connections.
Available options:
false Not supported for PostgreSQL Connections.
Response
Default Response