Microservice architecture can enable high scalability, availability and performance. Integration of microservices with IAM must not negatively impact the benefits of MSA-based design. This document guides technical professionals through best IAM practices for MSA applications.
- Directory Architecture and Attribute Providers
- User Authentication
- Service Identity and Service Authentication
- Authentication in Asynchronous Communications
- Do Microservice Instances Need an Identity?
- Credential Management for Microservices
- Access With OAuth 2.0 Tokens
- Stateful and Stateless Tokens
- Limitations of OAuth 2.0 Tokens
- Communicating With Infrastructure Services
- Authorization Architecture
- When Integrating With IAM Services, Respect the MSA Principles
- Administer Domain-Specific Attributes and Policies Locally
- Minimize Look-Up Requests to External Systems of Record
- Adopt OAuth 2.0 for Authentication and Authorization
- Avoid Anonymous Microservices
- Colocate PDPs With the Microservices That Use Them
- A Brief Introduction to Microservices
- Typical Infrastructure Services Supporting MSA
- MSA Platforms
- Pivotal Cloud Foundry
- Azure Service Fabric
- Spring Framework
- Impersonation and Delegation in OAuth 2.0
Gartner Recommended Reading
©2021 Gartner, Inc. and/or its affiliates.
All rights reserved.
Gartner is a registered trademark of Gartner, Inc. and its affiliates.
This publication may not be reproduced or distributed in any form without Gartner’s prior written permission.
It consists of the opinions of Gartner’s research organization, which should not be construed as statements of fact.
While the information contained in this publication has been obtained from sources believed to be reliable, Gartner disclaims all warranties as to the accuracy, completeness or adequacy of such information.
Although Gartner research may address legal and financial issues, Gartner does not provide legal or investment advice and its research should not be construed or used as such.
Your access and use of this publication are governed by Gartner’s Usage Policy.
Gartner prides itself on its reputation for independence and objectivity.
Its research is produced independently by its research organization without input or influence from any third party.
For further information, see
Guiding Principles on Independence and Objectivity.