Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

update docs

adilsonf4123ff3a332
diff --git a/docs/documentation/platform/secret-rotation/postgres-credentials.mdx b/docs/documentation/platform/secret-rotation/postgres-credentials.mdx
index 79d811ae42..0e5d51fb98 100644
--- a/docs/documentation/platform/secret-rotation/postgres-credentials.mdx
+++ b/docs/documentation/platform/secret-rotation/postgres-credentials.mdx
@@ -59,6 +59,17 @@ description: "Learn how to automatically rotate PostgreSQL credentials."
- **Database Username 1** - the username of the first user that will be used for rotation.
- **Database Username 2** - the username of the second user that will be used for rotation.
+ <Warning>
+ If your database is hosted on **PlanetScale**, you must include the branch id in the username using the format `username.branch_id`.
+
+ To find your branch id, use the [PlanetScale CLI](https://planetscale.com/docs/reference/planetscale-cli):
+
+ ```bash
+ pscale org switch <org-name>
+ pscale branch show <database> <branch-name> --format json
+ ```
+ </Warning>
+
![Rotation Advance Parameters](/images/secret-rotations-v2/postgres-credentials/postgres-credentials-advance-parameters.png)
- **Rotation Statement** - the template string query to generate password for the rotated user.