Overview
Your application sends the identity on each request asX-Dome-Act-As. Dome verifies it, then Rules and audit can read principal.act_as. The agent still authenticates as itself. Act-As never replaces agent authentication.
For a request to authorize as a person, three things have to be true:
- Dome knows how to verify the person. You point Dome at an IdP (OIDC) or a shared HMAC secret, either as a workspace verification provider on this page or inline on the agent. You can also set a workspace floor that requires every agent to present verified Act-As and limits which methods are allowed.
- The agent is configured to act for people. On the agent record you set the Act-As method, whether a person is required, which provider to use, and optional allow-lists. Do that when you register or update the agent.
- Your application sends who the person is. Each request includes
X-Dome-Act-As. Without it, Rules have no end user to evaluate. Refer to Pass identity for delegated agents.
forbid.
The typical workflow is:
- Create a verification provider: OIDC or HMAC, or inline OIDC/HMAC on the agent.
- Configure Act-As on the agent when you register or update it.
- Optionally require verified identity for every agent in the workspace.
- Write claim-aware Rules that read
principal.act_as. Claim names are on the Rules reference.
Verification methods
Each agent chooses how Dome verifies the Act-As envelope. Your application must send a matchingX-Dome-Act-As value on MCP, OpenAI, and Anthropic requests.
Prefer OIDC or bound identity for production traffic. Agents can share a workspace verification provider or use inline OIDC/HMAC credentials on the agent record.
Identity claims
Verified identity is exposed to Cedar asprincipal.act_as:
Attribute types for policy are also on the Rules reference.
Workspace floor
The workspace can require Act-As on every request and restrict which verification methods are allowed. That floor applies to every agent in the workspace. Agent settings can be stricter than the floor, but cannot weaken it.Where verified identity is consumed
Verified identity can also:- Scope Quotas to an Act-As subject
- Forward to upstream tools when a connection uses an Act-As egress header. Refer to Tools and Tools reference
- Drive per-user credentials on the Tools reference and Models reference
- Drive pool
match_whenconditions onprincipal.act_as.*. Refer to Pools reference
Requirements
Before you begin, authenticate to Dome and select a workspace.Permissions
Workspace Act-As settings and shared verification providers useconfig.manage. Per-agent Act-As configuration uses agent register permissions. Refer to Agents.
Create a verification provider
Create a workspace-scoped verification provider that delegated agents can share. Assign the returned provider ID when registering or updating an agent with--actas-provider / actas_provider_id. Agents can instead use inline --actas-oidc-url or --actas-hmac-secret without a shared provider.
The method you pick here must match what your application puts in X-Dome-Act-As. Refer to Verification methods. How to send the header is on Pass identity for delegated agents.
Requires
config.manage.OIDC
Use OIDC when end users sign in through an IdP and your application sends their JWT asX-Dome-Act-As.
- CLI
- MCP
- API
- Agent
Reference:
dome workspace verification-providers createHMAC
Use HMAC when a trusted service constructs and signs the Act-As envelope with a shared secret.- CLI
- MCP
- API
- Agent
Reference:
dome workspace verification-providers createList verification providers
List the verification providers in the workspace.Requires
config.manage.- CLI
- MCP
- API
Reference:
dome workspace verification-providers listDelete a verification provider
Delete a verification provider when no agent should use it.Requires
config.manage.- CLI
- MCP
- API
Reference:
dome workspace verification-providers deleteRequire verified identity
Update the workspace Act-As floor so every agent must present a verified end-user identity (every agent in the workspace behaves as a delegated agent at the edge), and optionally restrict which methods are allowed. When the workspace requires verified Act-As:- Every request must include a valid identity envelope.
- The verification method must be allowed by the workspace.
- An agent configured with
actas_method=noneis rejected. - Invalid, expired, malformed, or unverifiable identity fails closed before authorization.
Requires
config.manage.- CLI
- MCP
- API
- Agent
dome workspace actas get, dome_workspace_actas_get, or GetWorkspaceActAs.
Claim-aware Rules
Rules can require Act-As and test verified claims. When the workspace permits requests without Act-As, a Rule that reads claims should testprincipal has act_as first.
end-user-access.cedar
Next steps
- Configure Act-As on an agent for method, required flag, provider, and allow-lists
- Pass identity for delegated agents from your application
- Identity Patterns concept for when to choose delegated vs standing identity
- Agent Identity concept for tokens and act-as on the request path
- Simulate Rules with representative Act-As claims before deploy