Expand description
Cluster join / membership wire DTOs.
Lifted from zlayer-api::handlers::cluster so the CLI, the manager UI,
and any other client can describe these requests/responses without
depending on zlayer-api. The handler itself stays in zlayer-api.
Structs§
- CaCert
- “CA certificate” minted by the cluster CA at every rotation of the active signing key.
- Cluster
Join Claims - Claims carried inside a signed cluster join token.
- Cluster
Join Request - Request body for
POST /api/v1/cluster/join. - Cluster
Join Response - Response body for
POST /api/v1/cluster/join. - Cluster
Node Summary - Summary of a cluster node for listing.
- Cluster
Peer - Summary of an existing cluster peer returned in join response.
- Gossip
Peer Summary - Snapshot of one gossip-pool peer, returned by
GET /api/v1/cluster/gossip/peers. - Import
Trust Bundle Request - Request body for
POST /api/v1/cluster/trust-imports. - Import
Trust Bundle Response - Response body for
POST /api/v1/cluster/trust-imports. - JwtStatus
Response - Response body for
GET /api/v1/cluster/jwt-status. - Revocation
Entry - One entry in the cluster-wide token revocation list.
- Revocation
List Response - Response body for
GET /api/v1/cluster/revocations. - Revoke
Token Request - Request body for
POST /api/v1/cluster/revoke-token. - Revoke
Token Response - Response body for
POST /api/v1/cluster/revoke-token. - Rotate
Signing KeyRequest - Request body for
POST /api/v1/cluster/rotate-signing-key. - Rotate
Signing KeyResponse - Response body for
POST /api/v1/cluster/rotate-signing-key. - SetJwt
Algorithm Request - Request body for
POST /api/v1/cluster/jwt-algorithm. - Signed
Cluster Join Token - Envelope around
ClusterJoinClaimscarrying the Ed25519 signature. - Signing
Pubkey Entry - Per-key entry returned by
GET /api/v1/cluster/signing-pubkeys. - Signing
Pubkey Response - Response body for
GET /api/v1/cluster/signing-pubkey. - Signing
Pubkeys Response - Response body for
GET /api/v1/cluster/signing-pubkeys. - Trust
Bundle - Public trust bundle for a cluster, distributable out-of-band so other clusters can import it and accept this cluster’s tokens.
- Trusted
Bundle Entry - One entry in the trusted-bundle listing.
- Trusted
Bundles Response - Response body for
GET /api/v1/cluster/trust-bundles. - Worker
Summary - Summary of a worker-tier worker node, returned by
GET /api/v1/cluster/workers.
Enums§
- JwtAlgorithm
- The JWT algorithm policy a cluster enforces for join tokens.
Constants§
- CA_
CERT_ FORMAT_ VERSION - Current
CaCert::vvalue the issuer emits. - SIGNED_
TOKEN_ V_ WAVE3 - Current envelope version Wave-3 mints. Re-export so mint and verify stay in lockstep without a stringly-typed constant elsewhere.
- SIGNED_
TOKEN_ V_ WAVE9 - Wave 9 envelope version: extends Wave 3 with an optional
ca_chainso a foreign-issued token can carry the CA-signed binding that proves itskidwas issued by the cluster identified inca_chain.cluster_domain. v=1 tokens still parse —ca_chainis just absent in their JSON. - TRUST_
BUNDLE_ FORMAT_ VERSION - Current
TrustBundle::vvalue.