awslabs/dynamodb-cross-region-library

Authentication details

akshetty9 opened this issue · 1 comments

Can you please mention what authentication does this require and how to set the credentials.
I am seeing this erros after running the command line.

2016-11-11 11:19:11,085 FATAL com.amazonaws.services.dynamodbv2.streams.connectors.CommandLineInterface - com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain

Please refer to the main method below:

https://github.com/awslabs/dynamodb-cross-region-library/blob/master/src/main/java/com/amazonaws/services/dynamodbv2/streams/connectors/CommandLineInterface.java#L99

Here we use DefaultAWSCredentialsProviderChain provided in the AWS SDK. According to the AWS SDK documentation there are multiple types of credentials supported:

http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html