EnrollmentService
本页列出 kibotos.enrollment.v1 中 EnrollmentService 的方法及每个方法用到的消息与枚举,由 enrollment.proto 及其注释生成,注释保持英文。
EnrollmentService is mounted on both the Operator API and the node API. The transport principal decides what a caller may do: a bootstrap principal (spiffe://<trust-domain>/enrollment/<grant-id>) may only call Enroll, and a formal Operator or node principal may only call Renew. The router enforces that rule before it deserializes any request body, and Enroll additionally requires the grant kind to match the endpoint it arrived on.
Enroll
/kibotos.enrollment.v1.EnrollmentService/Enroll一元调用EnrollRequestEnrollRequest proves possession of a client-generated key. The CSR must be a DER PKCS#10 request of at most 8 KiB without requested extensions or names; ctrl ignores its subject and builds the identity from the grant.
EnrollResponseRenew
/kibotos.enrollment.v1.EnrollmentService/Renew一元调用RenewRequestRenewRequest carries a CSR for a fresh client-generated key. ctrl issues only for the same active principal that authenticated the call.
RenewResponse消息与枚举
EnrollmentService 的多个方法用到以下消息与枚举。
IssuedIdentity
IssuedIdentity is the authoritative result of one enrollment or renewal. It never carries a private key.
certificate is the DER leaf signed by the control-client CA.
ca_certificate is the DER control-client CA so the client can verify the chain before persisting anything.