bcuff / elasticsearch-net-aws

Add-on to Elasticsearch.Net & NEST for using AWS's elasticsearch service.
Apache License 2.0
72 stars 27 forks source link

Doesn't support credentials profile file #26

Closed massimocode closed 7 years ago

massimocode commented 7 years ago

I have no AWS credential environment variables, but I have them specified in the [user_folder]/.aws/credentials file instead.

This doesn't pick them up, so I am forced to specify environment variables.

massimocode commented 7 years ago

I found what I think is the AWS SDK implementation here: https://github.com/aws/aws-sdk-net/blob/5e89eed153496a9c0a6bc0d5279c9e409be2b787/sdk/src/Core/Amazon.Runtime/CredentialManagement/_bcl%2Bcoreclr/CredentialProfileStoreChain.cs

bcuff commented 7 years ago

@massimocode This would be a good addition to the library. I don't think I'll get to it in the immediate future but I'm open to accepting PR's.

bcuff commented 7 years ago

@massimocode This is now available thanks to https://github.com/bcuff/elasticsearch-net-aws/pull/28 in the latest package 2.3.7