Your az storage blob list --container-name my_container
cmdlet is incomplete, when you run the command in the Azure shell, it throws the error message below. I understand missing credentials message might cause confusion though, because this is not necessarily required, but if you look at the number 3 in the list, you can see that you need to supply a storage account name for the given container.
Missing credentials to access storage service. The following
variations are accepted:
- account name and key (--account-name and --account-key options
or
set AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY environment variables)
- account name and SAS token (--sas-token option used with either
the --account-name
option or AZURE_STORAGE_ACCOUNT environment variable)
- account name (--account-name option or AZURE_STORAGE_ACCOUNT
environment variable;
this will make calls to query for a storage account key using login credentials)
- connection string (--connection-string option or
set AZURE_STORAGE_CONNECTION_STRING environment variable); some shells will require
quoting to preserve literal character interpretation.
Try the following, with your appriopriate container name, and storage account name:
az storage blob list --container-name CONTAINER_NAME --account-name STORAGE_ACCOUNT_NAME