Requesting Access
When you click Launch on an account from the My Access page (or run the CLI command), PAM checks:- Do you have permission? — You need a membership (on the folder or account) with the Connector or Admin role
- Template requirements — If the template requires a reason, you’ll be prompted to enter one. If it requires MFA, you’ll need to verify your identity.
Connecting
Once approved, the connection is established through the Gateway:- Your client (browser or CLI) connects to the Gateway
- The Gateway fetches the account credentials from Infisical
- The Gateway connects to the actual database or server
- Traffic flows through the Gateway — you never see the credentials
localhost.
During the Session
While you’re connected:- Recording — Every query (database) or command (SSH) is captured
- Session timer — The session has a maximum duration set by the template. When time runs out, you’re disconnected.
- Logs upload — Session activity uploads to Infisical in real-time, so admins can monitor active sessions
Ending the Session
A session ends when:- You disconnect (close the browser tab, press Ctrl+C, or type
exit) - The max session duration is reached
- An admin terminates the session
After the Session
Every session is logged:- Audit log — records who accessed what, when, and from where
- Session recording — captures everything that happened during the session
Next Steps
Sessions
View and manage sessions.
Session Recording
How recordings are captured and stored.