Merge pull request #4115 from Infisical/fix/postgresAppConnectionDocTip

Minor improvement on the Postgres docs changing a warning to a tip
This commit is contained in:
carlosmonastyrski
2025-07-15 21:47:42 -03:00
committed by GitHub

View File

@@ -30,14 +30,14 @@ Infisical supports connecting to PostgreSQL using a database role.
-- enable permissions to alter login credentials
ALTER ROLE infisical_role WITH CREATEROLE;
```
<Warning>
For each user whose password will be rotated, you must grant that specific user role to your admin user with the ADMIN option:
<Tip>
In some configurations, the role performing the rotation must be explicitly granted access to manage each user. To do this, grant the user's role to the rotation role with:
```SQL
-- grant each user role to admin user for password rotation
GRANT <secret-rotation-user> TO <infisical_role> WITH ADMIN OPTION;
GRANT <secret_rotation_user> TO <infisical_role> WITH ADMIN OPTION;
```
Replace `<secret-rotation-user>` with each specific username whose credentials will be rotated, and `<infisical_role>` with the role that will perform the rotation.
</Warning>
Replace `<secret_rotation_user>` with each specific username whose credentials will be rotated, and `<infisical_role>` with the role that will perform the rotation.
</Tip>
</Tab>
</Tabs>
</Step>