> For the complete documentation index, see [llms.txt](https://notes.incendium.rocks/pentesting-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.incendium.rocks/pentesting-notes/cloud/azure/authenticated-enumeration/storage-accounts-database.md).

# Storage Accounts (database)

### List databases

```
az storage account list --query "[].name" -o tsv
```

### Get tables

```
az storage table list --account-name <db-name> --output table --auth-mode login
```

### Get data

```
az storage entity query --table-name <table-name> --account-name <db-name> --output table --auth-mode login
```
