`hubctl stacks ls` throwing `Error: listing storage account` error
- Dominant language
- Go
- Stars
- 11
- Forks
- 3
- Avg merge
- 7d 47m
- Merged PRs (30d)
- 1
Description
When working on Azure based stacks and running `hubctl stacks ls` getting the following error:
```
hubctl stack ls
2023/02/08 10:46:36 WARN: Unable to check `az://hubctlf9993145/hubctl/waiting-murdoc-630.epam.devops.delivery/hub/aks-cluster/hub.state` state file: Error listing storage account `hubctlf9993145` access keys: storage.AccountsClient#ListKeys: Invalid input: autorest/validation: validation failed: parameter=client.SubscriptionID constraint=MinLength value="" details: value length must be greater than or equal to 1;
Please set AZURE_STORAGE_KEY environment variable, or AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET
```
I logged in to Azure as a user (`az login`), not using service principal authentication so I don't have AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET env vars set.
Contributor guide
Assessment
This issue has not been assessed yet.