Ms Security

GitbookMicroservices2021-02-22


๐Ÿ’ก Microservices: Security

๐Ÿ“‘ Microservice Security Foudations


๐Ÿ“‘ Identity Management and Access Control


IAM platform

Identity and access management (IAM) is a framework of business processes, policies and technologies that facilitates the management of electronic or digital identities. With an IAM framework in place, information technology (IT) managers can control user access to critical information within their organizations.

  • One Time Pin, OTP
  • Identity Store: DB, LDAP, Third-Party
  • Identity

๐Ÿ“‘ Token-Based Security and Standards


  • JSON Web Token

    • Header: Algorithm and Token Type
    • Payload: meta-Data
    • Singature: Verfication
jwt
  • Access Token, Refresh token, ID token
structure token format
  • OAuth 2 primer(ๅ…ฅ้—จ): Resource Owner, Resource Server, Authorization Server, Client

๐Ÿ“‘ Security between Microservices


๐Ÿ“‘ Application and Container Security


  • Run authentication Docker Container
  • Vault Agent: ไฟ้™ฉๆŸœไปฃ็†
ci cd

๐Ÿ“‘ Appendix


  • IAM Platform, API Gateway
  • on-premises: ๆœฌๅœฐ
  • monetization: ่ฅๅˆฉ
  • assume, assumption: ๅ‡่ฎพ
  • complimentary: ๅ…่ดน
  • compliance: ๅˆ่ง„, ๆ‰ฟ่ฏบ
  • Artifact Repository: ไบบๅทฅๅ“, orchestrator storage: ๅ่ฐƒๅ™จๅญ˜ๅ‚จ
  • Boundary Standard, Interact Rules
  • BFF, API Gateway, DMZ, Reverse Proxy
  • Pair:

    • Nginx (File Server, Static Resource Provides)
    • BFF Server (ExpressJs, JWT)