Skip to content

Commit

Permalink
Merge pull request #25652 from hashicorp/bugfix/storage-keyauth-403
Browse files Browse the repository at this point in the history
storage: select the first storage acount key for authentication
  • Loading branch information
manicminer authored Apr 18, 2024
2 parents 29068c7 + 1cba4e1 commit 5241251
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/services/storage/client/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func (ad *accountDetails) AccountKey(ctx context.Context, client Client) (*strin

if *key.Permissions == storageaccounts.KeyPermissionFull {
ad.accountKey = key.Value
break
}
}
}
Expand Down

0 comments on commit 5241251

Please sign in to comment.