Default templates
Infisical creates a template for each account type when your organization first opens PAM. If an account uses a default template, sessions on the account last up to one hour, and Infisical stores the recordings in its internal database. The default templates have no policies turned on, apart from Output Masking on the SSH and PostgreSQL templates. Windows and Windows AD accounts need recordings stored in AWS S3, so before anyone can launch sessions on them, change the default Windows templates to use external storage. If an account type has no template, such as a type added after your organization started using PAM, the Account Templates page shows a message. Select Add default templates in the message to create the missing templates.Create a template
Create your own template when some accounts need different rules, such as production databases that need approval before anyone connects.1
Go to Privileged Access Management > Account Templates and select Create Template.
2
Enter a Name, choose the account Type, and optionally enter a Description, then select Create Template.
3
On the template’s General tab, set the policies and system settings that the accounts need.
4
Select Save Changes.
Policies
Allow Auto-Approval and Allow Break-Glass only work together with Require Approval. If you turn off Require Approval, Infisical also turns off Allow Break-Glass.
Machine identities can’t complete an MFA challenge. They can’t connect to accounts whose template has Require MFA on. If an AI agent runs as you, it gives you a link to complete MFA in your browser. If an agent runs as a machine identity and needs an account, use Require Approval instead.
Output masking
New SSH and PostgreSQL templates, including the default templates, start with Output Masking on and the Account Credentials preset selected. On accounts that use Output Masking, Infisical blocks the output it can’t reliably mask:- SSH: File transfers (SFTP and SCP) and port forwarding
- PostgreSQL:
COPY ... TO STDOUTand replication (useSELECTinstead ofCOPY)
NULL instead. Sessions on these accounts fail to start until you update the account’s Gateway to the latest version.
System settings
You can override the gateway for one account on the account’s Advanced tab. For Windows and Windows AD accounts, you can also override the recording bucket there.