- The account template sets how often its accounts rotate and which passwords Infisical generates
- Each account sets its rotation account, which is the account that Infisical signs in as to change the password
How it works
When an account rotates, Infisical:- Generates a password that meets the template’s password requirements
- Signs in to the target as the rotation account and changes the account’s password
- Signs in with the new password to check that it works
- Saves the new password as the account’s credential
Rotation accounts
The rotation account is the account that Infisical signs in as to change the password. You can pick one of three options:- The account itself: The account changes its own password
- A different account: A more privileged account changes the password, for an account that can’t change its own password
- None: The account doesn’t rotate, even if its template has rotation turned on
If you pick a different account, it must be on the same resource as the account it rotates:
- For databases, the same host and port (for Oracle, also the same service name)
- For Windows accounts, the same host
- For Windows AD accounts, the same domain
Turn on rotation for a template
You need the Product Admin role to change a template.1
Go to Privileged Access Management > Account Templates and select the template that your accounts use.
2
Under Credential settings, set the password requirements that the target system’s password policy accepts: Min length, Min uppercase, Min lowercase, Min numbers, Min symbols, and Allowed symbols.
3
Turn on Automatically rotate credentials and set Rotate every to 1 hour, 12 hours, 24 hours, 7 days, or 30 days.
4
Select Save Changes.
!@#$%^&*()-_=+[]{}|:,.<>/~.
The password requirements also apply when someone adds an account or changes its password, so Infisical rejects a password that doesn’t meet them.
If you leave Automatically rotate credentials off, the template’s accounts rotate only when someone selects Rotate now on the account.
Set an account’s rotation account
You need the Admin role on the account or its folder. To pick a different account as the rotation account, you also need permission to view that account’s credentials.1
Go to Privileged Access Management > Accounts, open the options menu on the account’s row, select Configure, and open the Rotation tab.
2
Under Rotation account, select the account that changes the password. To have the account change its own password, select the entry marked (this account).
3
Select Save Changes.
If another PAM account stores the same credential, Infisical doesn’t update it when this account rotates, so enter the new password on that account after each rotation.The Rotation tab lists some of these accounts under Shared identity, such as accounts that discovery imported, but not accounts that someone added by hand. Check for other copies of the credential before you rotate, even if the list is empty.
Supported account types
PostgreSQL
Rotate the passwords of PostgreSQL accounts.
MySQL
Rotate the passwords of MySQL accounts.
Microsoft SQL Server
Rotate the passwords of Microsoft SQL Server accounts.
Oracle
Rotate the passwords of Oracle accounts.
Windows
Rotate the passwords of local Windows and Active Directory accounts.