diff --git a/cmd/peer-rest-client.go b/cmd/peer-rest-client.go index 4b869b9c0..206aefd1d 100644 --- a/cmd/peer-rest-client.go +++ b/cmd/peer-rest-client.go @@ -724,6 +724,7 @@ func (client *peerRESTClient) SpeedTest(ctx context.Context, opts speedTestOpts) values.Set(peerRESTBucket, opts.bucketName) values.Set(peerRESTEnableSha256, strconv.FormatBool(opts.enableSha256)) values.Set(peerRESTEnableMultipart, strconv.FormatBool(opts.enableMultipart)) + values.Set(peerRESTAccessKey, opts.creds.AccessKey) respBody, err := client.callWithContext(context.Background(), peerRESTMethodSpeedTest, values, nil, -1) if err != nil {