Skip to main content

Microservices Security Fundamentals

  • Chapter
  • First Online:
Microservices for the Enterprise

Abstract

The microservices architecture expands the attack surface with multiple microservices communicating with each other remotely. Instead of having one or two entry points, now we have hundreds of entry points to worry about. It’s a common principle in security that the strength of a given system is only as strong as the strength of its weakest link. The more entry points we have, the broader the attack surface, and the higher the risk of being attacked. Unlike in a monolithic application, the depth and breadth we need to worry about in securing a microservice is much higher. There are multiple perspectives in securing microservices: secure development lifecycle and test automation, security in DevOps, and application level security.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://tools.ietf.org/html/rfc7519

  2. 2.

    https://tools.ietf.org/html/rfc7515

  3. 3.

    https://tools.ietf.org/html/rfc7516

  4. 4.

    https://datatracker.ietf.org/wg/jose/about/

  5. 5.

    https://spiffe.io/

  6. 6.

    An OCSP responder is an endpoint hosted by the certificate authority to respond to certificate validation requests by client applications.

  7. 7.

    https://tools.ietf.org/html/rfc6749

  8. 8.

    https://tools.ietf.org/html/rfc7662

  9. 9.

    https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html

  10. 10.

    http://www.openpolicyagent.org/

  11. 11.

    https://istio.io/docs/concepts/security/

  12. 12.

    https://tools.ietf.org/html/rfc7662

  13. 13.

    http://openid.net/specs/openid-connect-core-1_0.html#UserInfo

  14. 14.

    http://docs.oasis-open.org/xacml/xacml-json-http/v1.0/xacml-json-http-v1.0.html

  15. 15.

    http://docs.oasis-open.org/xacml/xacml-rest/v1.0/xacml-rest-v1.0.html

  16. 16.

    https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-10

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Kasun Indrasiri and Prabath Siriwardena

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Indrasiri, K., Siriwardena, P. (2018). Microservices Security Fundamentals. In: Microservices for the Enterprise. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3858-5_11

Download citation

Publish with us

Policies and ethics