Skip to content

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

docs

Andreyddb672e65734
diff --git a/docs/documentation/platform/pam/discovery/active-directory.mdx b/docs/documentation/platform/pam/discovery/active-directory.mdx
index 8853e367f5..56641aa82c 100644
--- a/docs/documentation/platform/pam/discovery/active-directory.mdx
+++ b/docs/documentation/platform/pam/discovery/active-directory.mdx
@@ -89,10 +89,25 @@ On the **Discovery Sources** table, select the options menu on the source's row,
On the **Staged Accounts** tab, select the accounts you want, then select **Import Accounts**.
</Step>
<Step>
- Select a **Destination Folder**, then a template for each account type in your selection (**Windows AD Template**, **Windows Template**, or both), and select **Import**.
+ Select a **Destination Folder**, then a template for each account type in your selection (**Windows AD Template**, **Windows Template**, or both).
</Step>
<Step>
- Go to **Privileged Access Management** > **Accounts**. For each imported account, open the options menu on its row, select **Configure**, and enter its password on the **Configuration** tab. The scan doesn't read passwords, so you can't connect to an imported account until you enter its password.
+ To have Infisical set a new password on each account during the import, turn on **Rotate account passwords on import**. Then, for each account type in your selection, pick the [rotation account](/documentation/platform/pam/credential-rotation/overview#rotation-accounts) that Infisical signs in as to change the passwords:
+
+ - **Windows AD Rotation Account:** an account in the same domain (by default, the source's credential account)
+ - **Windows Rotation Account:** a local account, which can only rotate the local accounts on its own server
+
+ If you leave a field empty, Infisical imports accounts of that type without a password.
+
+ <Warning>
+ Rotation changes each account's password in Active Directory or on its server, so anything that signs in with the old password stops working. If the scan found the account's [dependencies](/documentation/platform/pam/credential-rotation/windows#dependencies), Infisical updates them with the new password.
+ </Warning>
+ </Step>
+ <Step>
+ Select **Import**.
+ </Step>
+ <Step>
+ Go to **Privileged Access Management** > **Accounts**. The scan doesn't read passwords, so each imported account that Infisical didn't rotate shows **Unavailable** until you set its password. For each of those accounts, open the options menu on its row, select **Configure**, and enter its password on the **Configuration** tab.
</Step>
</Steps>
diff --git a/docs/documentation/platform/pam/discovery/mssql.mdx b/docs/documentation/platform/pam/discovery/mssql.mdx
index f2015d76d6..483f297eb5 100644
--- a/docs/documentation/platform/pam/discovery/mssql.mdx
+++ b/docs/documentation/platform/pam/discovery/mssql.mdx
@@ -71,10 +71,22 @@ The scan stages only enabled SQL logins. It skips Windows logins and SQL Server'
On the **Staged Accounts** tab, select the accounts you want, then select **Import Accounts**.
</Step>
<Step>
- Select a **Destination Folder** and a **Microsoft SQL Server Template**, then select **Import**.
+ Select a **Destination Folder** and a **Microsoft SQL Server Template**.
</Step>
<Step>
- Go to **Privileged Access Management** > **Accounts**. For each imported account, open the options menu on its row, select **Configure**, and enter the password for its login on the **Configuration** tab. The scan doesn't read passwords, so you can't connect to an imported account until you enter its password.
+ To have Infisical set a new password on each login during the import, turn on **Rotate account passwords on import**. Then pick the **Microsoft SQL Server Rotation Account**, which is the [rotation account](/documentation/platform/pam/credential-rotation/overview#rotation-accounts) that Infisical signs in as to change the passwords. By default, the field is set to one of the source's credential accounts.
+
+ A rotation account can only change passwords on its own instance (the same host and port), so Infisical imports logins from other instances without a password.
+
+ <Warning>
+ Rotation changes each login's password on its instance, so anything that signs in with the old password stops working.
+ </Warning>
+ </Step>
+ <Step>
+ Select **Import**.
+ </Step>
+ <Step>
+ Go to **Privileged Access Management** > **Accounts**. The scan doesn't read passwords, so each imported account that Infisical didn't rotate shows **Unavailable** until you set its password. For each of those accounts, open the options menu on its row, select **Configure**, and enter the password for its login on the **Configuration** tab.
</Step>
</Steps>
diff --git a/docs/documentation/platform/pam/discovery/overview.mdx b/docs/documentation/platform/pam/discovery/overview.mdx
index 19f090411e..cc7a0c574c 100644
--- a/docs/documentation/platform/pam/discovery/overview.mdx
+++ b/docs/documentation/platform/pam/discovery/overview.mdx
@@ -30,7 +30,7 @@ To set up a discovery source, follow the guide for the system you want to scan:
3. You select the staged accounts to import, and pick a [folder](/documentation/platform/pam/folders/overview) and an [account template](/documentation/platform/pam/templates/overview) for them
4. Infisical creates a PAM account for each staged account you imported
-Discovery finds each account's username but not its password. An imported account can't be used until you enter its credential on the account.
+Discovery finds each account's username but not its password, so you can't use an imported account until it has a credential. You can enter the credential on each account after the import. If the account type supports [credential rotation](/documentation/platform/pam/credential-rotation/overview), you can instead have Infisical set a new password on the account during the import.
## Staged accounts
diff --git a/docs/documentation/platform/pam/discovery/postgres.mdx b/docs/documentation/platform/pam/discovery/postgres.mdx
index 342d968ea0..643a82abe5 100644
--- a/docs/documentation/platform/pam/discovery/postgres.mdx
+++ b/docs/documentation/platform/pam/discovery/postgres.mdx
@@ -90,14 +90,26 @@ The scan stages only roles that can sign in. Roles are shared across all databas
</Frame>
</Step>
<Step>
- Select a **Destination Folder** and a **PostgreSQL Template**, then select **Import**.
+ Select a **Destination Folder** and a **PostgreSQL Template**.
<Frame>
<img src="/images/platform/pam/postgres-discovery-import-accounts.png" alt="Import 4 Accounts dialog with Production as the destination folder and PostgreSQL Standard as the template" />
</Frame>
</Step>
<Step>
- Go to **Privileged Access Management** > **Accounts**. For each imported account, open the options menu on its row, select **Configure**, and enter the password for its PostgreSQL role on the **Configuration** tab. The scan doesn't read passwords, so you can't connect to an imported account until you enter its password.
+ To have Infisical set a new password on each role during the import, turn on **Rotate account passwords on import**. Then pick the **PostgreSQL Rotation Account**, which is the [rotation account](/documentation/platform/pam/credential-rotation/overview#rotation-accounts) that Infisical signs in as to change the passwords. By default, the field is set to one of the source's credential accounts.
+
+ A rotation account can only change passwords on its own instance (the same host and port), so Infisical imports roles from other instances without a password.
+
+ <Warning>
+ Rotation changes each role's password on its instance, so anything that signs in with the old password stops working.
+ </Warning>
+ </Step>
+ <Step>
+ Select **Import**.
+ </Step>
+ <Step>
+ Go to **Privileged Access Management** > **Accounts**. The scan doesn't read passwords, so each imported account that Infisical didn't rotate shows **Unavailable** until you set its password. For each of those accounts, open the options menu on its row, select **Configure**, and enter the password for its PostgreSQL role on the **Configuration** tab.
</Step>
</Steps>