MCPcopy
hub / github.com/grafana/tempo / getStorageAccountKey

Function getStorageAccountKey

tempodb/backend/azure/azure_helpers.go:160–167  ·  view source on GitHub ↗
(cfg *Config)

Source from the content-addressed store, hash-verified

158}
159
160func getStorageAccountKey(cfg *Config) string {
161 accountKey := cfg.StorageAccountKey.String()
162 if accountKey == "" {
163 accountKey = os.Getenv("AZURE_STORAGE_KEY")
164 }
165
166 return accountKey
167}

Callers 4

getContainerClientFunction · 0.85

Calls 1

StringMethod · 0.45