Implement copy for Azure Blob Storage

This commit is contained in:
Frederik Ring
2022-12-23 10:14:37 +01:00
parent e702b2b682
commit 7aa2166aee
2 changed files with 35 additions and 3 deletions

View File

@@ -66,6 +66,7 @@ type Config struct {
AzureStorageAccountName string `split_words:"true"`
AzureStoragePrimaryAccountKey string `split_words:"true"`
AzureStorageContainerName string `split_words:"true"`
AzureStorageEndpoint string `split_words:"true" default:""https://%s.blob.core.windows.net/""`
}
func (c *Config) resolveSecret(envVar string, secretPath string) (string, error) {