What is the difference between authentication and authorisation, and where do OAuth2 and OIDC fit?
BeginnerConceptSecrets Management and Identity
Answer
Authentication proves who you are; authorisation decides what you can do. OAuth 2.0 is an authorisation delegation framework that issues access tokens for APIs. OpenID Connect is a thin identity layer on OAuth 2.0 that adds an ID token (a JWT with claims about the user) for authentication.
For service-to-service use the client credentials flow; for web apps, authorisation code flow with PKCE.
More on Secrets Management and Identity
Why is hard-coding secrets or putting them in environment variables a problem?BeginnerWhat does HashiCorp Vault provide?BeginnerExplain Vault's seal/unseal process.IntermediateWhat are Vault dynamic secrets and why are they better than static ones?IntermediateHow do Kubernetes workloads authenticate to Vault?AdvancedWhat is AWS Secrets Manager and how does it compare with SSM Parameter Store?Beginner