Add aad auth option when using azure storage account (#1973)

Support managed identity authentication in Azure Blob Storage.
This commit is contained in:
yueluhuan
2024-07-15 09:21:31 +08:00
committed by GitHub
parent a1e728e5be
commit 1e39c23d72
9 changed files with 86 additions and 22 deletions
+8
View File
@@ -536,6 +536,14 @@ ShutdownTimeout = 60
# Env override: ATHENS_AZURE_ACCOUNT_KEY
AccountKey = "MY_AZURE_BLOB_ACCOUNT_KEY"
# Managed Identity Resource Id to use with the storage account
# Env override: ATHENS_AZURE_MANAGED_IDENTITY_RESOURCE_ID
ManagedIdentityResourceId = "MY_AZURE_MANAGED_IDENTITY_RESOURCE_ID"
# Storage Resource to use with the storage account
# Env override: ATHENS_AZURE_STORAGE_RESOURCE
StorageResource = "MY_AZURE_STORAGE_RESOURCE"
# Name of container in the blob storage
# Env override: ATHENS_AZURE_CONTAINER_NAME
ContainerName = "MY_AZURE_BLOB_CONTAINER_NAME"