Cotal TypeScript packages
    Preparing search index...

    Function mintControlInstrument

    • Mint one control-caller instrument for a target the caller already resolved. It is an ISSUANCE (SPEC 13.15): its rails carry a fresh generation, and its ceiling is recorded before the material exists. It depends on no lifecycle gate, so its evidence carries the credential's own five-minute expiry as its liveness, and that expiry is the generation's horizon. Nothing here reads the registry or the use selection, so a caller that pinned its target keeps minting against that target after either one changes.

      instanceId pins THIS one-shot instrument to that manager instance, so it is issued the exact ep.inst.<endpoint>.<iid>.<command> rows. Without it the instrument holds only class-rail rows, every instance-addressed request is refused at the broker, and the client renders that refusal as a describe timeout, so --on reads as an unresponsive manager rather than an unminted grant. The capability SHAPE is core's to define; this site only decides that a pin was asked for.

      Parameters

      • target: Pick<MeshTarget, "space" | "server" | "tlsRequired"> & { auth: SpaceAuth }
      • tier: "admin" | "privileged"
      • OptionalinstanceId: string | string[]
      • Optionalactor: string

      Returns Promise<{ creds: string; epCaller: IssuedCaller }>