Default Templates
When you first use PAM, default templates are available for each account type (PostgreSQL, MySQL, MS SQL, MongoDB, SSH, Kubernetes, AWS IAM, Windows, Windows AD). Each has sensible defaults like 1-hour session duration. If the defaults work for you, you can skip straight to adding accounts.Creating a Custom Template
If you need different rules — say, 4-hour sessions with MFA for production — create a custom template.Navigate to Account Templates
Go to Privileged Access Management → Account Templates and click Create Template.
Set the basics
| Field | Description |
|---|---|
| Name | A descriptive name (e.g., prod-postgres) |
| Type | The account type (PostgreSQL, MySQL, SSH, etc.) |
| Description | Optional context about when to use this template |
Configure policies
| Option | What it does |
|---|---|
| Require MFA | Users must re-authenticate with MFA before connecting |
| Require Reason | Users must provide a reason before connecting |
| Max Session Duration | How long someone can stay connected (in seconds) |
| Command Blocking | Regex patterns for commands to reject (one per line). Currently SSH only. |
Configure system settings
| Option | What it does |
|---|---|
| Gateway | Default Gateway for connections (can be overridden per account) |
| Storage Backend | Where to store session recordings (internal or your S3 bucket) |
| Session Log Masking | Regex patterns for content to mask in recordings (one per line) |
How Templates Work with Accounts
Every account references a template. The account inherits everything from that template — session limits, MFA requirements, Gateway, recording storage, and so on. This means you can:- Apply the same rules to many accounts by having them use the same template
- Change rules for all those accounts at once by editing the template
- Have different accounts in the same folder use different templates (if they need different rules)
Next Steps
With templates set up, you’re ready to add accounts to your folders.PostgreSQL Accounts
Add PostgreSQL database accounts.
SSH Accounts
Add SSH server accounts.