Skip to Content
Microservices Security in Action
book

Microservices Security in Action

by Prabath Siriwardena, Wajjakkara Kankanamge Anthony Nuwan Dias
August 2020
Intermediate to advanced
616 pages
18h 7m
English
Manning Publications
Content preview from Microservices Security in Action

9 Securing reactive microservices

This chapter covers

  • Using Kafka as a message broker for interservice communications
  • Using TLS in Kafka to secure messages in transit
  • Using mTLS to authenticate microservices connecting to Kafka
  • Controlling access to Kafka topics using access control lists
  • Using NATS for reactive microservices

In chapter 6 and chapter 7, we discussed how to secure service-to-service communications with mTLS and JWT. Chapter 8 extended that discussion and explained how mTLS and JWT can be used to secure communications happening over gRPC. In all those cases, our examples assumed synchronous communications between the calling microservice and the recipient microservice. The security model that you develop to protect service-to-service ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microservices in Action

Microservices in Action

Morgan Bruce, Paulo A Pereira
Microservices: Up and Running

Microservices: Up and Running

Ronnie Mitra, Irakli Nadareishvili
Microservices Security in Action video edition

Microservices Security in Action video edition

Prabath Siriwardena, Nuwan Dias

Publisher Resources

ISBN: 9781617295959Supplemental ContentPublisher SupportPublisher WebsitePurchase Link