You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2022/01/12 13:37:00 UTC

[jira] [Created] (CAMEL-17478) camel-aws2-s3 OperationdowbloadLink requires aws credentails even if client is aurowired from registry

Jiri Ondrusek created CAMEL-17478:
-------------------------------------

             Summary: camel-aws2-s3 OperationdowbloadLink requires aws credentails even if client is aurowired from registry
                 Key: CAMEL-17478
                 URL: https://issues.apache.org/jira/browse/CAMEL-17478
             Project: Camel
          Issue Type: Improvement
          Components: camel-aws2
    Affects Versions: 3.15.0
            Reporter: Jiri Ondrusek
            Assignee: Jiri Ondrusek


It is possible to use "custom" aws s3 client by providing a client in registry.
If operation "downloadLink" is executed with a component with autowired client, it fails.

I understand that creation of a link is not possible without credentials and the only solution for user is to provide credentials (in the same way as in [test|https://github.com/apache/camel/blob/main/components/camel-aws/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3CreateDownloadLinkOperationIT.java#L84])

I think that this behavior should be mentioned in the documentation and covered by the test. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)