learnk8s / learnk8s.io

https://learnk8s.io
75 stars 31 forks source link

Article: Authenticating microservices requests in Kubernetes #327

Open amitsaha opened 4 years ago

amitsaha commented 4 years ago

Preview: https://deploy-preview-327--learnk8s.netlify.app/microservices-authentication-kubernetes

amitsaha commented 3 years ago

@danielepolencic it looks like you have made most of the changes you were thinking of - I made a few more edits.

I am not sure why the article isn't showing up in the preview.

danielepolencic commented 3 years ago

A few general notes:

amitsaha commented 3 years ago

I think the TokenReview API is authentication, but when you use to verify the audience you are implementing custom authorization.

Completely agree with this. So should we just use authentication throughout?

danielepolencic commented 3 years ago

Completely agree with this. So should we just use authentication throughout? I think we need to pay more attention, particularly at the beginning. It's ok to say authorization where we do auth.

amitsaha commented 3 years ago

@danielepolencic i made a few updates related to authn/authz what do you think?