The MeshTrust resource tells proxies which certificate authorities (CAs) can verify workload
certificates in a trust domain. A trust domain is the part of a SPIFFE ID between spiffe://
and the next /. For example, to verify spiffe://corp.example.com/workload/payments, the
certificate must chain to a CA published for corp.example.com.
MeshTrust works alongside two other resources:
- MeshIdentity issues certificates.
MeshTrustpublishes the public CA certificates that verify them. - MeshTrafficPermission decides whether a verified caller can connect. Trust doesn’t grant access.
You usually don’t need to create this resource. A MeshIdentity with a Bundled provider
creates the MeshTrust for its own CA, which covers a single-zone mesh that issues its own
identities, and a migration between two Bundled identities. Create one manually when you
manage trust separately, for example to accept certificates from an external identity system.
Like MeshIdentity, MeshTrust isn’t a policy. It has no targetRef, to, or rules, because a
trust domain is either trusted mesh-wide or it isn’t. On Kubernetes, it’s accepted only in the
system namespace.