A machine user, not a pasted password
It signs in with a short-lived OIDC token from wherever it runs. The Connector still holds the upstream credential, so no secret ends up in the agent's environment.
Formal is a PAM solution that sits between your engineers, AI agents and production. It decides on each SQL query and Kubernetes request, records SSH sessions, and holds the credentials so nobody shares a password.
The problem
To fix one bug in production, an engineer gets a role that can do much more, for longer than the fix takes. Scripts and agents get the same keys.
Fine-grained roles rarely exist, so troubleshooting a production database means a role that can also write and delete.
A ticket says who asked. It doesn't say what they'll run, on which resource, or for how long.
One database password ends up in scripts, laptops and agent configs. When something goes wrong, the log says app_admin, and nobody knows who that was.
# Without Formal, all three go through.
Solutions
One page per kind of privileged access. Just-in-time access works across all of them, so it sits under Capabilities below.
Per-query policies for Postgres, Snowflake and other databases
One entry point to SSH hosts, EC2 and ECS, with every session recorded
SSO for kubectl, per-request policy, MFA on exec and recorded sessions
Record, score and stop SSH, kubectl exec and database sessions
Definition
privileged access management softwarenoun
Privileged access management (PAM) software controls who can use elevated access to production systems, for how long, and what they do with it.
It vaults privileged account passwords, checks them out to a user and records the session.
Engineers and AI agents connect with their own identity through the Formal Connector, which signs in to the database, host or cluster on their behalf.
Then the Connector applies policy inside the session. The PAM explainer covers the category itself.
How it works
Step 1 of 3
It runs in your network, on ECS, any Kubernetes cluster or Docker, between the people and agents who connect and the databases, hosts and clusters they reach.
Step 2 of 3
Engineers use SSO. Agents use short-lived OIDC tokens, tied to the person they work for. Upstream, the Connector signs in as a Native User.
Step 3 of 3
Policies check each SQL query before it runs, each result before it returns and every Kubernetes API request. SSH sessions are recorded.
AI agents
Coding and cloud agents now open the same production connections engineers do, and the quick way to set one up is to paste a database password into its environment. In Formal, an agent is a machine user instead.
It signs in with a short-lived OIDC token from wherever it runs. The Connector still holds the upstream credential, so no secret ends up in the agent's environment.
It goes through the same policies as that person, and each log line names the agent and the human it acted for. That tie is what lets you review agent access later.
“We've limited the amount of data that those cloud agents can access and we're able to tie that back to the specific user who is using that cloud agent, which is a feature that I'm only aware of Formal having.”
# More than its default rights: the agent asks, the person who started it approves in Slack, for that one agent session.
Capabilities
The Connector reads each query before it runs and each result before it comes back. Enforcement actions include block, mask, filter and rewrite.
| name | ssn | |
|---|---|---|
| Ana Ruiz | a***@example.com | ***-**-4821 |
| Tom Berg | t***@example.com | ***-**-0317 |
| Lea Moss | l***@example.com | ***-**-9902 |
Default-deny rules stay in place. An approved request becomes a policy suspension: one-off, or time-bound in minutes, hours or days, and it expires on its own.
SSH sessions and kubectl exec and attach sessions are recorded and can be replayed. Every database query is logged with the person or agent who ran it (sessions).
quarantine policy ends every active session of the user and blocks new SSH, Kubernetes and RDP sessions until an admin unblocks themA Native User on the Connector holds the password, SSH key, IAM role or kubeconfig. People and agents sign in with their own identity and never receive it.
Why it's different
| Without Formal | With Formal | |
|---|---|---|
| Credentials | Shared passwords and long-lived keys | Native Users hold them; people and agents never see them |
| Permissions | A different model per system: SQL GRANTs, cloud IAM, Kubernetes RBAC | One policy language for databases, SSH, Kubernetes and APIs |
| Approvals | A ticket that grants a role, with no limit | One action, on one resource, ending on its own |
| Agents | A copied password in an environment variable | A machine identity tied to the person it works for |
| Audit | Logs scattered across systems | One log of every query and command, by person or agent |
Buyer's checklist
These are the questions we’d ask any privileged access management solution before a trial, including ours.
Does one product cover your databases, SSH hosts, Kubernetes clusters and cloud APIs, or is each protocol a separate tool with its own policy model?
Does the user check out a password, or does the proxy inject it so the user never holds it? A checked-out password sits on a laptop until it’s checked back in.
Can a policy block one DELETE or mask one column, or only allow or refuse the connection?
Does an approval grant a role, or one action on one resource that expires? Default-deny with short exceptions is how teams get to zero standing privileges.
Can an AI agent sign in with a workload identity tied to a person, under the same policies, without a stored secret?
Is there one log of queries and commands with the person behind each, and can it go to your SIEM? Formal sends logs to S3, GCS, Pub/Sub, Azure Blob, Datadog, Splunk or Panther.
Does the product rotate privileged credentials itself, or leave that to your secret manager? Formal leaves it to yours today.
The best PAM solutions page scores vendors against criteria like these, from each vendor’s own documentation.
Resources covered
The Formal Connector proxies 21 resource types: databases, warehouses, infrastructure (SSH including AWS SSM, Kubernetes, RDP), APIs and storage, and AI (MCP servers and LLM APIs).
The limits
Enforcement isn’t the same on every resource type.
Policy on the query and on the result.
Query and resultPolicy runs on every API request, and sessions are recorded.
Every requestPolicy runs on the session, and sessions are recorded.
SessionIdentity plus session-level allow, block and MFA. Recording is documented for SSH and Kubernetes only.
SessionAuthenticated and logged, but the Connector doesn’t evaluate policies for it.
Logged onlyThere’s no SQL Server or Oracle support.
Not supportedPlatform
Formal’s privileged access management platform is three products on one policy engine.
The reverse proxy in your network that people and agents connect through. It holds the credentials and applies policy to each connection, query and command. How the Connector works.
Slack forms and approvals that create a time-bound policy exception, removed when it expires.
One place where employees find the databases, MCP servers and skills they can use, and request the ones they can’t.
Deployment
The Connector runs in your network, so queries and results go from the client to the Connector to the resource without passing through Formal’s cloud.
The Control Plane can’t interact with your data. Logs do reach it, unless a log schema drops or encrypts the fields you don’t want to leave your network.
You can run the Control Plane yourself on AWS. Deployment details, clustering and monitoring are on the Connector page.
Formal’s SOC 2 Type II and ISO 27001 reports are on security.formal.ai.
Customer proof
“With Formal, we can finally manage least privilege access across our entire infrastructure through a single control plane.”

FAQ
Pick a PAM solution that puts all three behind one identity, one policy language and one log, instead of a password vault for databases and a separate bastion for SSH. Formal does it with one Connector: engineers keep psql, ssh and kubectl, and every query, command and Kubernetes request is logged with the person or agent behind it. The best PAM solutions roundup sets privileged access management solutions side by side on the same criteria.
No. They keep psql, mysql, mongosh, ssh and kubectl. The Formal Endpoint or formal connect in the CLI sets up a local connection to each resource, and sign-in goes through your SSO.
No. A Native User on the Connector holds it, and the user signs in with their Formal identity. BigQuery works differently: the Connector authenticates to Google with application default credentials instead of a Native User.
Any agent that gets an OIDC token where it runs. Formal has 15 built-in issuers, including Cursor, Devin and GitHub Actions, and accepts any OIDC provider. The Devin guide walks through just-in-time database access approved for one agent session.
Yes, if cloud PAM means PAM for cloud infrastructure: Formal covers RDS, Snowflake, EKS, and AWS and GCP APIs next to on-prem hosts. It isn’t a hosted gateway, though. The Connector runs in your network, so your traffic doesn’t pass through Formal’s cloud, and the Control Plane is hosted by Formal or self-hosted on AWS.
Formal’s policies act on each query and its results as well as on the session, and AI agents go through the same policies as people. Each comparison page checks Formal against one vendor from that vendor’s own docs: CyberArk, StrongDM, Teleport and BeyondTrust.
Endpoint privilege management (EPM) removes local admin rights on workstations and servers and elevates specific applications when needed. PAM controls access to privileged systems such as production databases, hosts and clusters. Formal is PAM software for infrastructure. It doesn’t manage local admin rights; the Formal Endpoint on a laptop handles network traffic and doesn’t elevate applications.
Keep exploring
See how Notion and Cursor run production access through Formal.