Skip to content

Commit

Permalink
blob.go: do not look for auth when setting ManagedSystemIdentity
Browse files Browse the repository at this point in the history
  • Loading branch information
mkandawires committed May 20, 2024
1 parent fc87bc9 commit e580db4
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 @@ -589,7 +589,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 e580db4

Please sign in to comment.