principalId in
a command identifies whom the actor represents; it does not authenticate the
actor.
Trusted identity provisioning
SetAMBIENT_OPERATOR_ACTORS to a comma-separated list of actors that can
authenticate to the HTTP boundary, initially through bootstrap HMAC. An
authenticated actor on that allowlist may call:
Issuing and revoking authority
The authenticated actor whose ID equals the principal ID can issue a bounded delegation:validUntil is optional. Ambient uses the server-stamped command time as
validFrom. Revoke the delegation with:
Public-key proof and short-lived tokens
Request an unsigned challenge:signingPayload. Decode signingPayload from unpadded base64url and sign the
resulting bytes directly with the registered Ed25519 private key. Exchange the
proof before the challenge expires:
accessToken, token type Bearer, actor ID, and
expiry. Send it to either the HTTP API or /mcp:
AUTH_CHALLENGE_TTL,
AUTH_TOKEN_TTL, and AUTH_AUDIENCE.
Bootstrap HMAC requests
The environment-backed HMAC scheme remains available as a bootstrap and operator-compatibility path. A signed request includes:GET /healthz and the two /v1/auth/* proof routes are unsigned.
Bootstrap MCP bearer tokens
The Streamable HTTP MCP endpoint also accepts a provisioned static opaque token:Acting for another principal
When actor and principal IDs match, Ambient permits self-representation. When they differ, includeauthorityRef in the command. The referenced delegation
must:
- name the authenticated actor and represented principal;
- include the command’s exact authority scope;
- be active at the time of authorization; and
- not be revoked.