Summary
In this chapter, we discussed how security in microservices can be implemented for both North-South traffic and East-West traffic. We started the chapter by discussing the different approaches we can follow to implement security for the external consumers of microservices. Then, we moved into the topic of ISC and discussed how NATS can be used to implement security for internal communications. Later in the chapter, we configured a three-node NATS server cluster with TLS security for both client-server and server-server communication with self-signed certificates. In the end, we added authentication and authorization on top of TLS, configured the NATS server cluster with additional security, implemented a few Go programs to connect with the NATS cluster, and verified the functionality. You have learned the security aspects of microservices architectures by reading the concepts presented in this chapter as well as by trying out the sample configurations and source code samples...