Privileged access management software for engineers and AI agents

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.

Privileged access management with Formal: engineers and AI agents connect through the Formal Connector in your infrastructure, which checks their identity, applies policies and signs in to Postgres, Snowflake, SSH hosts and Kubernetes as a native user.
The Connector holds the credentials. The Control Plane manages configuration and can't interact with your data.

The problem

Production access is all or nothing

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.

  1. Read access becomes full access

    Fine-grained roles rarely exist, so troubleshooting a production database means a role that can also write and delete.

  2. Approvals without context

    A ticket says who asked. It doesn't say what they'll run, on which resource, or for how long.

  3. Shared passwords travel

    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.

today · no policy on the pathexample
01
maya · psqlDELETE FROM orders WHERE …ALLOWED
02
leo · psqlpg_dump prod-db > all.sqlALLOWED
03
app_admin · psqlDROP TABLE sessionsALLOWED

# Without Formal, all three go through.

Definition

What is privileged access management software?

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.
  • The classic PAM platform is a vault

    It vaults privileged account passwords, checks them out to a user and records the session.

  • Formal works in the network path

    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.

  • Policy inside the session

    Then the Connector applies policy inside the session. The PAM explainer covers the category itself.

How it works

How Formal's PAM works

  1. Step 1 of 3

    Put the Connector in front of production

    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.

    YOUR NETWORKexample
    • prod-postgres behind the Connector✓
    • ssh hosts behind the Connector✓
    • eks-prod behind the Connector✓
  2. Step 2 of 3

    Everyone signs in as themselves

    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.

    WHO CONNECTSexample
    • maya@acme.com · Okta SSOPERSON
    • devin session for maya · OIDCAGENT · FOR MAYA
    • pg_app_ro · AWS Secrets ManagerNEVER SHOWN
  3. Step 3 of 3

    Policy on what runs inside

    Policies check each SQL query before it runs, each result before it returns and every Kubernetes API request. SSH sessions are recorded.

    INSIDE THE SESSIONexample
    • DELETE FROM orders WHERE id > 0BLOCKED
    • SELECT email FROM usersMASKED
    • ssh prod-worker-2RECORDED

AI agents

PAM for 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.

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.

devin for maya · OIDCconnect prod-postgresALLOWED

Tied to the person it works for

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.

devin for mayaSELECT email FROM usersMASKED

Traced back to the user

“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.”
Roy Xu, Software Engineer, Security, Cursor
maya (Slack)approve devin session write accessAPPROVED

# More than its default rights: the agent asks, the person who started it approves in Slack, for that one agent session.

Capabilities

What teams use PAM for

Database access

Control the query, not the connection

The Connector reads each query before it runs and each result before it comes back. Enforcement actions include block, mask, filter and rewrite.

  • Block a DELETE in production, with a message the user sees in their client
  • Mask columns by data label, found by automatic data discovery
  • Add context at runtime with hooks, for example only let a support agent read the customer on its current case
Database access management ›
psql · prod-postgresexample
maya@acme.com> SELECT name, email, ssn FROM patients LIMIT 3
nameemailssn
Ana Ruiza***@example.com***-**-4821
Tom Bergt***@example.com***-**-0317
Lea Mossl***@example.com***-**-9902
3 rows · policy mask-pii-by-labelMASKED
Just-in-time

Approve one action, not a role

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.

  • Engineers ask through a Slack form or the Catalog; an approver decides in Slack or in Access Requests
  • An agent such as Devin asks for access and the person who started the session approves it in Slack, for that session only (guide)
  • At Cursor, engineers request just-in-time access for a specific operational need instead of holding permanent production permissions
Just-in-time privileged access ›
slack · #prod-accessexample
FormalAPP
maya requests a one-off write on prod-postgres
Resource
prod-postgres
Action
UPDATE orders …
Scope
once
Workflow
prod-write-access
sam approved. Maya ran the update, and the exception closed.
APPROVED
Sessions

Record sessions and stop risky ones

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).

  • AI risk scoring from 1 to 5 for recorded SSH and Kubernetes sessions, with a summary of what happened
  • Admins can terminate a session that is still running
  • A quarantine policy ends every active session of the user and blocks new SSH, Kubernetes and RDP sessions until an admin unblocks them
Privileged session management ›
ssh · prod-worker-2recording · 11m 04s
maya@acme.comrisk4/5
  1. 15:10:02ssh prod-worker-2
  2. 15:11:30tail -n 200 /var/log/api.log
  3. 15:12:44sudo systemctl restart api
  4. 15:14:05sudo cat /etc/shadow
  5. 15:21:06exit
SummaryRestarted the api service, then read /etc/shadow, which the restart didn't need.
Credentials

No shared credentials

A 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.

  • Store the credential on the Connector, or fetch it from AWS Secrets Manager, GCP Secret Manager or Azure Key Vault after policy allows the connection
  • Rotate a Native User’s credentials in one place
  • The log names the person or agent, not the shared account
psql · prod-postgresexample
10:14:03leo@acme.comconnect prod-postgresALLOWED
10:14:03connectorpg_app_ro from AWS Secrets ManagerTOKEN INJECTED

Why it's different

Production access, before and after

Without FormalWith Formal
CredentialsShared passwords and long-lived keysNative Users hold them; people and agents never see them
PermissionsA different model per system: SQL GRANTs, cloud IAM, Kubernetes RBACOne policy language for databases, SSH, Kubernetes and APIs
ApprovalsA ticket that grants a role, with no limitOne action, on one resource, ending on its own
AgentsA copied password in an environment variableA machine identity tied to the person it works for
AuditLogs scattered across systemsOne log of every query and command, by person or agent

Buyer's checklist

What to look for in PAM software

These are the questions we’d ask any privileged access management solution before a trial, including ours.

  1. Resources

    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?

  2. Credential 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.

  3. Control inside the session

    Can a policy block one DELETE or mask one column, or only allow or refuse the connection?

  4. Approvals

    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.

  5. Agents

    Can an AI agent sign in with a workload identity tied to a person, under the same policies, without a stored secret?

  6. Audit

    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.

  7. Rotation

    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

Resources covered by Formal's privileged access management software

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 resources guide, with a docs page per technology ›

The limits

Where enforcement differs, and the limits

Enforcement isn’t the same on every resource type.

  • SQL engines and MongoDB

    Policy on the query and on the result.

    Query and result
  • Kubernetes

    Policy runs on every API request, and sessions are recorded.

    Every request
  • SSH

    Policy runs on the session, and sessions are recorded.

    Session
  • RDP

    Identity plus session-level allow, block and MFA. Recording is documented for SSH and Kubernetes only.

    Session
  • DynamoDB

    Authenticated and logged, but the Connector doesn’t evaluate policies for it.

    Logged only
  • No SQL Server or Oracle

    There’s no SQL Server or Oracle support.

    Not supported

Platform

The products behind it

Formal’s privileged access management platform is three products on one policy engine.

Connector

Formal Connector

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.

Workflows

Formal Workflows

Slack forms and approvals that create a time-bound policy exception, removed when it expires.

Catalog

Formal Catalog

One place where employees find the databases, MCP servers and skills they can use, and request the ones they can’t.

Deployment

Runs in your infrastructure

Traffic stays in your network

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 holds configuration

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.

Self-host the Control Plane

You can run the Control Plane yourself on AWS. Deployment details, clustering and monitoring are on the Connector page.

SOC 2 Type II and ISO 27001

Formal’s SOC 2 Type II and ISO 27001 reports are on security.formal.ai.

Customer proof

Technologies secured
10+
Resources secured
1,000+
Logs per week
40M+
Sessions per week
600K+
“With Formal, we can finally manage least privilege access across our entire infrastructure through a single control plane.”
Tom Daniels
Tom Daniels
CISO, Cursor
Read the Cursor story ›

FAQ

Questions about Formal's PAM solution

What's the best PAM solution that works natively with SSH, databases and Kubernetes?

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.

Do engineers have to change their tools?

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.

Do users ever see the database password?

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.

Which AI agents can sign in through Formal?

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.

Is Formal a cloud PAM solution?

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.

How is Formal different from CyberArk, StrongDM or Teleport?

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.

What is the difference between PAM and EPM?

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.

Put a policy on one production database

See how Notion and Cursor run production access through Formal.