For years our internal services trusted any request that came from inside the private network. The reasoning was simple: the firewall keeps outsiders out, so anything that reaches port 8080 must be one of ours. Then a vulnerable image-resizing service was compromised through a crafted upload. From that pod, the attacker could call the billing service's refund endpoint, because billing had no idea who was calling. Nothing was refunded thanks to a separate check, but the review was clear: network...
Service-to-service auth: from network trust to mTLS, signed tokens and SPIFFE IDs
Trusting anything inside the VPC means one compromised pod can call every service. How to give each service a real identity with mTLS, signed service tokens and SPIFFE IDs, rotate it automatically, and authorise every call.
This is a paid story
Subscribe to read the full content, access all paid stories, and support the authors.
Add a label
Embed this post
<iframe src="https://www.hibug.me/service-to-service-auth-mtls-jwt-spiffe" width="700" height="420" frameborder="0" loading="lazy"></iframe>
I have spent most of the last decade on mobile teams, first native iOS, then React Native and Flutter for companies that needed one team to ship to both stores. The work I enjoy most is the unglamorous part between "it runs on my phone" and "it is live for a million users": code signing, release builds, store review, crash triage and background behaviour that differs on every Android vendor. Most of the bugs I write about here cost a release day. Each post shows the exact error, what we ruled out, the fix and how we proved it in the next build, so you can get your own release out the door sooner.
Comments
0No comments yet. Be the first to comment!
Sign In to post a comment.