Right now the only options passed to azure-cli is tenant ID. This means that the subscription will default to use the current active account. If I want to use a cluster that's on a non-active subscription, I need to run something like az account set --subscription <subscription> first before running kubelogin.
It would be nice if it was also possible to specify a subscription ID with a flag --subscription-id and have that value also supplied when creating azure-cli credentials. This way kubelogin can be used on a different subscription than the active one in azure-cli.
Right now the only options passed to azure-cli is tenant ID. This means that the subscription will default to use the current active account. If I want to use a cluster that's on a non-active subscription, I need to run something like
az account set --subscription <subscription>first before running kubelogin.It would be nice if it was also possible to specify a subscription ID with a flag
--subscription-idand have that value also supplied when creating azure-cli credentials. This way kubelogin can be used on a different subscription than the active one in azure-cli.