Components
Infisical Platform — the control plane. Stores account credentials, manages permissions, and hosts the web interface. Gateway — a lightweight service you deploy in your private network. It proxies connections to your databases and servers, injects credentials, and records sessions. Client — the user’s browser (Web Access) or CLI. Connects to the Gateway through an encrypted tunnel.How a Connection Works
When a user connects to an account:- User requests access — clicks Launch in the browser or runs the CLI command
- Infisical checks permissions — verifies the user has a membership with the right role
- Template rules are enforced — MFA, reason requirement, etc.
- Connection is established — an encrypted tunnel is created between the client and Gateway
- Gateway fetches credentials — retrieves them from Infisical
- Gateway connects to the target — using the credentials
- Traffic flows through the Gateway — user interacts with the database/server
- Session is recorded — Gateway captures and uploads session activity
Network Security
The Gateway uses outbound connections only:- No inbound ports — your firewall doesn’t need to allow any inbound traffic
- Outbound to Infisical — for credential retrieval and session uploads
- Outbound to your infrastructure — to connect to databases and servers
Encryption
All connections are encrypted:- Client to Gateway — end-to-end encrypted tunnel
- Gateway to Infisical — TLS
- Session recordings — encrypted before upload
Recording Architecture
Recording happens at the Gateway:- Traffic flows through the Gateway
- Gateway captures session events
- Events are encrypted and cached locally
- Events upload to Infisical in real-time
- If connectivity drops, recording continues locally and syncs when restored
Deployment Options
| Setup | Use case |
|---|---|
| Single Gateway | Small environments, single network |
| Gateway per network | Multiple VPCs or on-prem segments |
| Gateway Pool | High availability, load balancing |
Next Steps
Deploy a Gateway
Deploy a Gateway in your network.
Launch Your First Session
Connect to a database in under 10 minutes.