Skip to content
StackDecode
System Design
11. Microservices ArchitectureAnimated

Microservice Security

Securing many small services.

The idea

Use zero trust, mutual TLS, least privilege tokens and secrets management.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

User + devicePolicy engineIdentityApp AApp B
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Never trust, always verify: being "inside" the network grants nothing.

step:
1/5
at:
User + device
1/11

The green dot is a request moving through the system.

Step by step

  1. 1Authenticate every call
  2. 2Authorise per service
  3. 3Encrypt traffic
  4. 4Rotate secrets

Where it is used

Any microservice system.

Watch out for

More services means a bigger attack surface.

Related