Skip to content
Français

WorkflowApproverKey

import type { WorkflowApproverKey } from "@elie-laloum/outpost";
  • keyIdRequired
    string
    Unique key identifier in the current trusted key set; duplicate identifiers fail verification.
  • actorRequired
    string
    Only actor authorized to sign decisions with this public key.
  • publicKeyRequired
    KeyObject
    Ed25519 public KeyObject used to check the proof; the verifier never needs the private key.
import type { KeyObject } from "node:crypto";

export interface WorkflowApproverKey {
  readonly keyId: string;
  readonly actor: string;
  readonly publicKey: KeyObject;
}