12

Securing Microservices

Our penultimate chapter of this book explores how to secure APIs within microservices, an increasingly important topic. Although this topic warrants a chapter of its own, this does not mean that the lessons you have learned about securing API thus far are no longer applicable to microservices. Securing APIs within microservices consists of applying the cornerstone principles we’ve learned so far, albeit in new and exciting ways.

Firstly, we will understand why microservices arose as a deployment model to understand the motivations for a new architecture better. Then, we’ll look at the foundations of microservices and how they can be secured. APIs are all about connectivity, and microservices present unique challenges ...

Get Defending APIs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.