3.6 KiB
Az - Management Groups, Subscriptions & Resource Groups
{% hint style="success" %}
Learn & practice AWS Hacking:
HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking:
HackTricks Training GCP Red Team Expert (GRTE)
Support HackTricks
- Check the subscription plans!
- Join the 💬 Discord group or the telegram group or follow us on Twitter 🐦 @hacktricks_live.
- Share hacking tricks by submitting PRs to the HackTricks and HackTricks Cloud github repos.
Management Groups
You can find more info about Management Groups in:
{% content-ref url="../az-basic-information/" %} az-basic-information {% endcontent-ref %}
Enumeration
# List
az account management-group list
# Get details and management groups and subscriptions that are children
az account management-group show --name <name> --expand --recurse
Subscriptions
You can find more info about Subscriptions in:
{% content-ref url="../az-basic-information/" %} az-basic-information {% endcontent-ref %}
Enumeration
{% code overflow="wrap" %}
# List all subscriptions
az account list --output table
# Get details
az account management-group subscription show --name <management group> --subscription <subscription>
{% endcode %}
Resource Groups
You can find more info about Resource Groups in:
{% content-ref url="../az-basic-information/" %} az-basic-information {% endcontent-ref %}
Enumeration
{% code overflow="wrap" %}
# List all resource groups
az group list
# Get resource groups of specific subscription
az group list --subscription "<subscription>" --output table
{% endcode %}
{% hint style="success" %}
Learn & practice AWS Hacking:
HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking:
HackTricks Training GCP Red Team Expert (GRTE)
Support HackTricks
- Check the subscription plans!
- Join the 💬 Discord group or the telegram group or follow us on Twitter 🐦 @hacktricks_live.
- Share hacking tricks by submitting PRs to the HackTricks and HackTricks Cloud github repos.