Interview › Istio & Service Mesh
How does Istio issue and rotate workload certificates (SPIFFE/SPIRE concepts)?
Istio & Service Mesh · Intermediate level
Answer
Istio issues and rotates workload certificates through its CA functionality in istiod. Workload identities are commonly represented as SPIFFE-style URIs based on trust domain, namespace, and service account, which allows proxies to authenticate services rather than IP addresses.
Technical explanation
A typical identity looks like spiffe://cluster.local/ns/payments/sa/payments-api.
The proxy obtains certificates and secrets from the control plane and uses them for mTLS handshakes.
SPIRE is a separate SPIFFE implementation; Istio uses SPIFFE concepts and can integrate with external CA or trust-domain models depending on architecture.
Hands-on example
Inspect a workload cert:
$ istioctl proxy-config secret deploy/payments-api -n payments
$ istioctl proxy-config secret deploy/payments-api -n payments -o jsonCheck subject, SAN URI, expiration, and whether certificates are rotating before expiry.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Istio & Service Mesh interview questions
- How does Istio enable a Zero Trust posture inside the cluster?
- What telemetry does Istio provide out of the box (metrics, logs, traces)?
- How does Istio integrate with Prometheus for metrics?
- How does Istio enable distributed tracing, and what is required from the application?
- What is the typical latency and resource overhead of the sidecar, and how do you minimise it?
- How do you use istioctl proxy-config and proxy-status to debug Envoy?
- What does istioctl analyze do?
- How do you debug mTLS handshake failures between two services?