Skip to main content

Variable: ACTOR_TOKEN_KID_PATTERN

const ACTOR_TOKEN_KID_PATTERN: "^gw(?:-admin)?-actor:v[1-9][0-9]{0,3}$" = '^gw(?:-admin)?-actor:v[1-9][0-9]{0,3}$'

Defined in: packages/contracts/src/actor-token.ts:56

The kid of an actor-signing key: <prefix>:v<n>, the prefix one of ACTOR_TOKEN_SIGNERS. The version lets a second key verify beside the first while a gateway rotates.