Skip to content

Commit

Permalink
blob.go: don't look for auth when setting ManagedSystemIdentity
Browse files Browse the repository at this point in the history
  • Loading branch information
simonlindblad committed May 9, 2024
1 parent 4dd9fba commit 2001856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/blob/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func (d *Driver) GetAuthEnv(ctx context.Context, volumeID, protocol string, attr
accountKey = key
}
} else {
if len(secrets) == 0 && ecStorageAuth != "WorkloadIdentity" {
if len(secrets) == 0 && ecStorageAuth != "WorkloadIdentity" && ecStorageAuth != "ManagedSystemIdentity" {
if secretName == "" && accountName != "" {
secretName = fmt.Sprintf(secretNameTemplate, accountName)
}
Expand Down

0 comments on commit 2001856

Please sign in to comment.