I found a solution by using https://login.windows.net/tenant_id/oauth2/v2.0/token with
grant_type:client_credentials
client_id:<APP_ID>
client_secret:<SECRET>
scope:6dae42f8-4368-4678-94ff-3960e28e3630/.default
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have an AKS deployed, and I want to access it (to get the list of pods for example) without using kubectl/kubelogin nor the Azure CLI.
I want to do it directly with curl on the Azure API and the kubernetes API, but I don't find the way to do it.
I'm pretty sure that kubelogin is doing some kind of request against the Kubernetes API using the credential that I get from User credential, but I don't find how to replicate it with curl.
Any help on this issue would be really appreciated.
Thank you,
Benjamin
I found a solution by using https://login.windows.net/tenant_id/oauth2/v2.0/token with
grant_type:client_credentials
client_id:<APP_ID>
client_secret:<SECRET>
scope:6dae42f8-4368-4678-94ff-3960e28e3630/.default