duckdb_azure
duckdb_azure copied to clipboard
Does it support read credentials from environment variable?
For example: I don't want to set secret:
CREATE SECRET secret4 (
TYPE AZURE,
PROVIDER ACCESS_TOKEN,
ACCESS_TOKEN '<value>'
ACCOUNT_NAME '⟨storage account name⟩'
);
I want to it read token from environment variable directly,
import os
os.environ["AZURE_ACCESS_TOKEN"] = "..."
maybe a more robust approach is to fix the issue downstream, azure needs to add support for AZURE_ACCESS_TOKEN as a valid env variable
https://github.com/Azure/azure-sdk-for-cpp/issues/6660