Skip to main content

AddTrustBundle

POST 

/admin/v1/customers/:customer_id/trust-domain-registrations/:id/bundles

AddTrustBundle adds a CA bundle to a registration: the X.509 CA certificates that sign the certificates of the trust domain's workloads. A registration can hold an old and a new bundle at the same time. It holds at most three bundles whose first CA certificate has not expired. A bundle whose first CA certificate expired does not count, and it still verifies certificates with its other CA certificates until the last one expires. All bundles of an organization hold at most 64 KiB of PEM. The bundle is PEM or the SPIFFE bundle format. It is refused with INVALID_ARGUMENT when a certificate is not a CA, is expired, or carries the SPIFFE ID of another trust domain. It writes one ADD_TRUST_BUNDLE audit row.

Request​

Responses​

Success