mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 20:27:43 +00:00
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:
@@ -30,14 +30,14 @@ Infisical supports connecting to PostgreSQL using a database role.
|
|||||||
-- enable permissions to alter login credentials
|
-- enable permissions to alter login credentials
|
||||||
ALTER ROLE infisical_role WITH CREATEROLE;
|
ALTER ROLE infisical_role WITH CREATEROLE;
|
||||||
```
|
```
|
||||||
<Warning>
|
<Tip>
|
||||||
For each user whose password will be rotated, you must grant that specific user role to your admin user with the ADMIN option:
|
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
|
```SQL
|
||||||
-- grant each user role to admin user for password rotation
|
-- 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.
|
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>
|
</Tip>
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</Step>
|
</Step>
|
||||||
|
|||||||
Reference in New Issue
Block a user