# Az - Management Groups, Subscriptions & Resource Groups {% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * Check the [**subscription plans**](https://github.com/sponsors/carlospolop)! * **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks_live)**.** * **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
{% endhint %} ## Management Groups You can find more info about Management Groups in: {% content-ref url="../az-basic-information/" %} [az-basic-information](../az-basic-information/) {% endcontent-ref %} ### Enumeration ```bash # List az account management-group list # Get details and management groups and subscriptions that are children az account management-group show --name --expand --recurse ``` ## Subscriptions You can find more info about Subscriptions in: {% content-ref url="../az-basic-information/" %} [az-basic-information](../az-basic-information/) {% endcontent-ref %} ### Enumeration {% code overflow="wrap" %} ```bash # List all subscriptions az account list --output table # Get details az account management-group subscription show --name --subscription ``` {% endcode %} ## Resource Groups You can find more info about Resource Groups in: {% content-ref url="../az-basic-information/" %} [az-basic-information](../az-basic-information/) {% endcontent-ref %} ### Enumeration {% code overflow="wrap" %} ```bash # List all resource groups az group list # Get resource groups of specific subscription az group list --subscription "" --output table ``` {% endcode %} {% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * Check the [**subscription plans**](https://github.com/sponsors/carlospolop)! * **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks_live)**.** * **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
{% endhint %}