Skip to content

Commit 2fa4ea5

Browse files
authored
Fixed documentation
1 parent 07fd364 commit 2fa4ea5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ dotnet add package Elasticsearch.Net.Aws-v1
2929
// for NEST
3030
3131
// if using an access key
32-
var httpConnection = new AwsHttpConnection("us-east-1", new StaticCredentialsProvider(new AwsCredentials
33-
{
34-
AccessKey = "My AWS access key",
35-
SecretKey = "My AWS secret key",
36-
}));
32+
var httpConnection = new AwsHttpConnection("us-east-1");
3733

3834
// if using app.config, environment variables, or roles
3935
var httpConnection = new AwsHttpConnection("us-east-1");

0 commit comments

Comments
 (0)