Open ihnorton opened 4 years ago
Cpplite is different from Azure-CLI, which itself is an executable. But cpplite is a library. I'm not sure whether it's a good idea to handle these environment variables in a library. Maybe these account name/key and endpoint information should loaded from environment variables by the executable and passed to this library. Anyway, we will evaluate this feature request.
Maybe these account name/key and endpoint information should loaded from environment variables by the executable and passed to this library.
Yes, that is what we are doing for now. Just to note that the AWS S3 C++ SDK does fall back to environment variables, which is useful for several situations. Thanks for evaluating this feature!
@ihnorton Thanks for your feedback, we'll add this feature to our backlog, and maybe support it in future release.
Please consider supporting the
AZURE_*
environment variables like the azure CLI, especially:AZURE_STORAGE_ACCOUNT
AZURE_STORAGE_KEY
For testing it would also be useful to be able to configure
AZURE_STORAGE_ENDPOINT
(not currently supported by the CLI, as far as I can tell).