Azure / AKS

Azure Kubernetes Service
https://azure.github.io/AKS/
1.95k stars 305 forks source link

[Question] AAD Auth and Lighthouse #3480

Open jkroepke opened 1 year ago

jkroepke commented 1 year ago

Describe scenario We are working as a service provider in customer environments. We are using Azure Lighthouse for managing the customer infrastructure components.

Question I'm aware that Azure Lighthouse wont work with OAUTH2 and the Kubernetes AAD integration based in that. I would like to know, if its possible to allow multiple tenants on the managed AAD Auth Integration?

I'm looking for alternatives to guest accounts

samhodgkinson commented 1 year ago

@krnese - Is this something the Lighthouse team could help with answering ?

jkroepke commented 1 year ago

An potential solution would be to allow multiple tenants for the Managed Azure AD integration.

samhodgkinson commented 1 year ago

This is a similar problem when working with Azure SQL or Data Factory as other examples, so Its a wider issues of how Azure Lighthouse can manage the data plain.

Without having a user account within the customer tenant, which defeats the point of Lighthouse. There seems to be limited options.

I don't think there great options.

jkroepke commented 1 year ago

Provided Lighthouse users with the Azure Kubernetes Service Cluster Admin

This does not work (tested), since the Azure AD configuration in AKS only allows one tenant. Kubernetes just respond with unauthenticated. In background, Kubernetes uses oauth for the authentication which is not compatible with Lighthouse yet.

Aside from that, Kubernetes does not support multiple OAUTH issuers.

samhodgkinson commented 1 year ago

Thanks for the confirmation. I will see if there's any updates from Microsoft. But it looks like the initial solution for me is a shared SPN, which has its own problems.

ghost commented 1 year ago

Action required from @Azure/aks-pm

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

jkroepke commented 8 months ago

Still interested

microsoft-github-policy-service[bot] commented 7 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 7 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 6 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 6 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 5 months ago

Issue needing attention of @Azure/aks-leads

jkroepke commented 5 months ago

Aside from that, Kubernetes does not support multiple OAUTH issuers.

With Kubernetes 1.30, its now supported.

microsoft-github-policy-service[bot] commented 5 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 4 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 4 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 3 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 3 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 2 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 1 month ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 1 month ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 4 weeks ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 1 week ago

Issue needing attention of @Azure/aks-leads