# General

List all storage accounts and output in a table format:

```
az storage account list -o table
```

List all storage accounts and get storage account names:

```
az storage account list -o json | jq -r '.[].name'
```

You can assign one of the account names to an env var if you’d like:

```
export AZURE_STORAGE_ACCOUNT=<storage account name from output>
```