Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting AWS profiles (AWS_PROFILE=) #5

Closed
ebarault opened this issue Aug 20, 2020 · 1 comment · Fixed by #7
Closed

Supporting AWS profiles (AWS_PROFILE=) #5

ebarault opened this issue Aug 20, 2020 · 1 comment · Fixed by #7

Comments

@ebarault
Copy link

ebarault commented Aug 20, 2020

Hi,

Although the code already handles the default credentials provider chain:
https://github.com/trustpilot/kafka-connect-dynamodb/blob/master/source/src/main/java/com/trustpilot/connector/dynamodb/aws/AwsClients.java#L46, this does not works when using a local profile, but fails with the following error message:

To use assume role profiles the aws-java-sdk-sts module must be on the class path.

In order to fix this, the following line should be added in the build.gradle:

compile group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: '1.11.846'
@ebarault ebarault changed the title Supporting AWS default credential provider chain Supporting AWS profiles (AWS_PROFILE=) Aug 21, 2020
raimondast added a commit to raimondast/kafka-connect-dynamodb that referenced this issue Nov 11, 2020
integration tests

- updated kinesis adapter
- service endpoints config
- fixed credential config types

updated kinesis-adapter

use gson only

integration test task

test switch from init sync

table whitelist config parameter

kcl.table.billing.mode config parameter

add aws-java-sdk-sts dependency

trustpilot#5

params

cleaning

cleanup

docs
@raimondast raimondast linked a pull request Nov 19, 2020 that will close this issue
raimondast added a commit that referenced this issue Nov 19, 2020
integration tests

- updated kinesis adapter
- service endpoints config
- fixed credential config types

updated kinesis-adapter

use gson only

integration test task

test switch from init sync

table whitelist config parameter

kcl.table.billing.mode config parameter

add aws-java-sdk-sts dependency

#5

params

cleaning

cleanup

docs
@ebarault
Copy link
Author

thank-you @raimondast i'll test this

IgorKowalczyk28xf added a commit to IgorKowalczyk28xf/trustpilotk that referenced this issue Dec 12, 2021
integration tests

- updated kinesis adapter
- service endpoints config
- fixed credential config types

updated kinesis-adapter

use gson only

integration test task

test switch from init sync

table whitelist config parameter

kcl.table.billing.mode config parameter

add aws-java-sdk-sts dependency

trustpilot/kafka-connect-dynamodb#5

params

cleaning

cleanup

docs
anl-trustpilot added a commit that referenced this issue Dec 13, 2021
* Table whitelist config parameter

integration tests

- updated kinesis adapter
- service endpoints config
- fixed credential config types

updated kinesis-adapter

use gson only

integration test task

test switch from init sync

table whitelist config parameter

kcl.table.billing.mode config parameter

add aws-java-sdk-sts dependency

#5

params

cleaning

cleanup

docs

* fix for security vunrability move to log4j 2.15.0

Co-authored-by: Raimondas Tijūnaitis <raimondast@users.noreply.github.com>
Co-authored-by: anl-trustpilot <anl@trustpilot.com>
Co-authored-by: anl-trustpilot <68909210+anl-trustpilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant