Issues with Azure Storage Backend
Opened this issue · 2 comments
trondhindenes commented
Problem description
I was surprises to notice that using an Azure storage account for backend seems to require either either the AZURE_STORAGE_KEY or AZURE_STORAGE_SAS_TOKEN environment variables.
Is it not possible to use my logged-in and authenticated azure cli user to authenticate?
Why this realiance on (semi-documented) environment variables as opposed to config files?
Affected product version(s)
Suggestions for a fix
- Properly document the various cloud backends' configuration options and their meanings
- In time, I hope pulumi will consider adding support for declarative as opposed to random envvars for configuring state backends
interurban commented
Thanks for flagging this @trondhindenes, Let me talk with the service team and get back to you but seems like a use case for ESC which we should address!
trondhindenes commented
Thanks! We're not ESC users, just trying to figure out what envvars are available, and what they mean. Neither is really well documented.