How infisical/infisical works
Infisical is a security infrastructure platform for managing secrets, certificates, keys, privileged access, and AI-agent access. A user-facing request enters the backend API, where authentication and project permissions govern access to platform capabilities and their state. The tree and README support the major product areas, but most domain implementations and their wiring were not sampled; those subsystem links are therefore shown as unverified rather than asserted calls. The sampled code does confirm alert dispatch, certificate enrollment dependencies, and PAM recording backend selection.
Main entry points: v1 HTTP API · agent-vault AI agent access · pam Privileged access · pam-recording-storage-factory.ts Session recording
Components 18
Request entry
- HTTP API
backend/src/server/routes/v1 - Go platform API
backend-go/internal/server/api/platform_routes.go
Secrets and access
- Authentication
backend/src/services/auth/auth-login-service.ts - Workload identity
backend/src/services/identity-kubernetes-auth/identity-kubernetes-auth-service.ts - Secrets management
backend/src/domains - AI agent access
backend/src/domains/agent-vault - Privileged access
backend/src/domains/pam - Session recording
backend/src/ee/services/pam-session-recording/pam-recording-storage-factory.ts - Key management
backend/src/services/kms
Certificate management
- Certificate authorities
backend/src/services/certificate-authority/certificate-authority-service.ts - Certificate enrollment
backend/src/services/pki-application/pki-application-enrollment-service.ts - Certificate lifecycle
backend/src/domains/certificates/cert-manager/ce/services/cert-manager/service.ts
Platform services
- Alert dispatch
backend/src/services/alert/alert-engine.ts - App connections
backend/src/services/app-connection - Object storage
backend/src/services/object-storage/object-storage-service.ts
Internal foundation
- Application data
backend/src/db - Background jobs
backend/src/domains/lib/jobs/jobs.ts
Other components
- Platform user
Connections 19
- Platform user → HTTP API: sends requests
- HTTP API → Authentication: authenticates
- HTTP API → Secrets management: manages secrets
README.md - HTTP API → AI agent access: manages agent access
README.md - HTTP API → Privileged access: manages privileged access
README.md - Privileged access → Session recording: records sessions
- HTTP API → Key management: manages keys
README.md - HTTP API → Certificate authorities: manages authorities
README.md - HTTP API → Certificate enrollment: enrolls certificates
README.md - Certificate enrollment → Certificate authorities: resolves CA type
backend/src/services/pki-application/pki-application-enrollment-service.ts - HTTP API → Certificate lifecycle: manages lifecycle
README.md - HTTP API → Alert dispatch: configures alerts
README.md - Alert dispatch → App connections: resolves recipients
- HTTP API → App connections: configures integrations
README.md - AI agent access → Object storage: checks default storage
- Session recording → Object storage: stores recordings
- HTTP API → Application data: persists state
- HTTP API → Background jobs: schedules work
- Platform user → Go platform API: sends requests