Skip to content

How can you use kubelogin with multiple azure tenancies? #120

Answered by weinong
pearj asked this question in Q&A
Discussion options

You must be logged in to vote

@pearj the conversion is based on what's provided in kubeconfig, and conversion from devicecode to azurecli will lose client-id as azure cli uses its own client id. when azurecli is used, get-token does nothing but invoking azure cli which doesn't support multi tenants. your best bet is do az login --tenant $tenantID

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@pearj
Comment options

Comment options

You must be logged in to vote
8 replies
@weinong
Comment options

@pearj
Comment options

@pearj
Comment options

@pearj
Comment options

@weinong
Comment options

Answer selected by pearj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants