You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/01/25 15:16:48 UTC

[GitHub] [camel-kafka-connector] jc43081 opened a new issue #1331: AWS Default Credential Provider is no longer available in 1.0?

jc43081 opened a new issue #1331:
URL: https://github.com/apache/camel-kafka-connector/issues/1331


   Previous to 1.0, the Default Credential Provider was able to be used for security credentials when connecting to AWS. It appears that with the pivot to Kamelets that this functionality is no longer available and [the only supported method is accesskey and secret](https://github.com/apache/camel-kafka-connector/blob/camel-kafka-connector-1.0.x/connectors/camel-aws-kinesis-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awskinesissink/CamelAwskinesissinkSinkConnectorConfig.java). As outlined within [AWS documentation](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html), the recommended method is to use the Default Credential Provider since it allows the most flexibility. 
   
   Our company doesn't allow use of access keys and secrets but requires token based credentials. The [previous implementation supported this just fine](https://github.com/apache/camel-kafka-connector/blob/camel-kafka-connector-0.11.x/connectors/camel-aws2-kinesis-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kinesis/CamelAws2kinesisSinkConnectorConfig.java). Support of Default Credential Provider is essential to our continued adoption.
   
   Is functionality planned to be added back in? If yes, when can it be expected? Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] samudurand commented on issue #1331: AWS Default Credential Provider is no longer available in 1.0?

Posted by GitBox <gi...@apache.org>.
samudurand commented on issue #1331:
URL: https://github.com/apache/camel-kafka-connector/issues/1331#issuecomment-1022262221


   That's exactly what we noticed as well. We are using the SNS Kafka connector and it doesn't work if we don't provide explicit aws access key and secrets properties. The docs do not say what needs to be done to use the Default (EC2 based for instance) credentials providers. 
   Assuming your changes just merged in Kamelet do fix that issue, what do we need to do to get it working ? 
   Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] samudurand edited a comment on issue #1331: AWS Default Credential Provider is no longer available in 1.0?

Posted by GitBox <gi...@apache.org>.
samudurand edited a comment on issue #1331:
URL: https://github.com/apache/camel-kafka-connector/issues/1331#issuecomment-1022262221


   That's exactly what we noticed as well. We are using the SNS Kafka connector For AWS2 version 0.9 and it doesn't work if we don't provide explicit aws access key and secrets properties. The docs do not say what needs to be done to use the Default (EC2 based for instance) credentials providers. 
   Assuming your changes just merged in Kamelet do fix that issue, what do we need to do to get it working ? 
   Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1331: AWS Default Credential Provider is no longer available in 1.0?

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1331:
URL: https://github.com/apache/camel-kafka-connector/issues/1331#issuecomment-1021332558






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1331: AWS Default Credential Provider is no longer available in 1.0?

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1331:
URL: https://github.com/apache/camel-kafka-connector/issues/1331#issuecomment-1021332558


   It needs to be done at kamelet level in this case. Let me open an issue there


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1331: AWS Default Credential Provider is no longer available in 1.0?

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1331:
URL: https://github.com/apache/camel-kafka-connector/issues/1331#issuecomment-1022429539


   If you use the default credential provider parameter, the order will be the following: https://github.com/aws/aws-sdk-java-v2/blob/2.17.118/core/auth/src/main/java/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.java#L24
   
   It's up to you to satisfy one of this condition.
   
   By the way, the fix is not completed, and for sure, we'll need a  new ckc release for 1.0.x


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org