Skip to Content
Xeonr Developer Docs
API Specification

xeonr.auth.api.v1.AutomationKeysService

AutomationKeysService is how a product creates and manages automation keys on a person's behalf (AUTH-191): Lantern's synthetics create the key a flow mints its tokens from. It is the public face of the portal's ApplicationsService automation-key RPCs and runs the same code. The caller is a person's access token carrying auth:automation-keys:manage, a scope a product's client holds through an approved binding to the auth application. The scope alone authorises nothing: each call is also held to the person's own standing on the named application, exactly as the portal is — an organisation administrator may act on any application except auth's own, anybody else only on applications owned by a team they own (listing needs only membership). Anything the person cannot reach answers NotFound. Service accounts and automation keys cannot call it, and neither can a person whose account is itself automation-flagged: a key must never be a route to another key.