Learn how to configure a PostgreSQL Connection for Infisical.
Create a Role
Grant Relevant Permissions
<secret_rotation_user>
with each specific username whose credentials will be rotated, and <infisical_role>
with the role that will perform the rotation.Get Connection Details
host
- The hostname or IP address of your PostgreSQL serverport
- The port number your PostgreSQL server is listening on (default: 5432)database
- The name of the specific database you want to connect tousername
- The role name of the login created in the steps abovepassword
- The role password of the login created in the steps abovesslCertificate
(optional) - The SSL certificate required for connection (if configured)ALLOW_INTERNAL_IP_CONNECTIONS
environment variable to true
.