Skip to content

Commit

Permalink
Add proxy support (opensearch-project#95)
Browse files Browse the repository at this point in the history
* Add proxy support

Add a new optional parameter to the provider configuration to allow for
setting a proxy.  Using a proxy can be an easier method for connecting
to clusters within a VPC.

Signed-off-by: Tim Wisbauer <[email protected]>

* Add proxy support docs

Signed-off-by: Tim Wisbauer <[email protected]>

---------

Signed-off-by: Tim Wisbauer <[email protected]>
  • Loading branch information
timwisbauer-contsec authored and Aaron Miller committed Nov 7, 2023
1 parent f6bf397 commit d2845ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ func getCreds(t *testing.T, region string, config *ProviderConf, endpoint string
}

<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 97c7627 (Add proxy support (#95))
// Given:
// 1. A proxy URL is specified.
// 2. No additional AWS configuration is provided to the provider
Expand All @@ -334,8 +337,11 @@ func TestAWSSocksProxy(t *testing.T) {
}
}

<<<<<<< HEAD
=======
>>>>>>> 0cfc9f2 (When the provider assumes a given role, don't use the default profile… (#87))
=======
>>>>>>> 97c7627 (Add proxy support (#95))
type mockServer struct {
ResponseFixturePath string
ExpectedAccessKeyId string
Expand Down

0 comments on commit d2845ac

Please sign in to comment.