Chapter 9. Securing a microservice

This chapter covers

  • Understanding why you need secure microservices
  • Securing a microservice
  • Consuming a secured microservice
  • Interacting with secured microservices from a UI

In this chapter, you’ll expand on previous examples by adding various types of security to them. First you will learn about the different kinds of security that you might need to consider when designing and developing microservices.

9.1. The importance of securing your microservice

Securing your microservice is a critical task that needs to be thought out from the beginning of development. Not doing so early results in greater development time for integrating security later. Why? Not designing for security results in code that might ...

Get Enterprise Java Microservices 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.