OptionalallowedExact principal kinds authorized to call the agent. Defaults to
['human'], so an existing configuration denies every automated principal
without changing a line — the caller must name the automation it wants.
Exact roles authorized to call the agent. Consulted for humans only. A non-empty array of distinct ROLES members; construction copies it.
OptionalauditOptional audit logger for authorization decisions and lookup failures. A
present value must have a callable record.
OptionalgetOverride actor sourcing. Default reads ACTOR_CONTEXT_KEY from
requestContext. A lookup that throws, or returns an actor whose kind is
not a PRINCIPAL_KINDS member, is an audited denial.
OptionalresourceAudit resource. Defaults to the stable processor identifier.
Configuration for
RBACMiddleware.