Convex.DeployKey reference
DeployKey
Section titled “DeployKey”Source:
packages/convex/src/DeployKey.ts
A deploy key for one Convex deployment, for CI or Convex.Functions.
DeployKey: Rotation
Section titled “DeployKey: Rotation”Convex shows a key only when it is created, so an existing key can’t be adopted. Adopting one deletes it and creates a new one with the same name, which invalidates anything still using the old value.
DeployKey: Creating a key
Section titled “DeployKey: Creating a key”const key = yield* Convex.DeployKey("Deploy", { deployment: prod, allowedActions: ["deployment:deploy"],});