<p>I want to see all the resource groups in my cluster(s). Is there a way to use <code>az aks</code> to get all the credentials of the cluster(s) without mentioning the names of the resource-group/cluster?</p>

<p>I tried <code>az aks get-credentials</code>, <code>az aks show</code>, <code>az aks list</code> but they all require the resource group name and I don't know it.</p>

<p>Any help is greatly appreciated.</p>

<p><strong>Update:</strong>
I have found a way to list all resources in my azure subscription: <code>az resource list</code>. 
I can see some resources here that when i try to find using `az</p>

<p>After alot of digging, you can find the list of resource groups using this command - <code>az group list</code>. 
Note: its useful to go through the <code>-h</code> of for <code>az</code> to see what it has to offer :)</p>
