Re: AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Ross Woolf
I just wanted to report that I resolved the issue. Having RAW was one piece of the puzzle. The other was I had this configuration: uri="aws2-s3://bucket-ses-s3-receiving/?... If you notice there is a slash on the end of receiving. Once I changed it to: uri="aws2-s3://bucket-ses-s3-receiving?... (a

Re: AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Andrea Cosentino
Have a look at https://github.com/apache/camel-examples/tree/main/examples/main Il giorno gio 24 ago 2023 alle ore 22:38 Ross Woolf ha scritto: > I've never used an external file for the properties. Can you point me > in the right direction? > > On Thu, Aug 24, 2023 at 2:28 PM Andrea Cosentino

Re: AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Ross Woolf
I've never used an external file for the properties. Can you point me in the right direction? On Thu, Aug 24, 2023 at 2:28 PM Andrea Cosentino wrote: > > When this happen I usually externalize the properties in a file or I use > the camel main properties to inject parameters.. > > Il gio 24 ago

Re: AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Andrea Cosentino
When this happen I usually externalize the properties in a file or I use the camel main properties to inject parameters.. Il gio 24 ago 2023, 22:23 Ross Woolf ha scritto: > > uri="aws2-s3://bucket-ses-s3-receiving/?region=us-east-1&accessKey=RAW(MY_ACCESS_KEY)&secretKey=RAW(MY_SECRET_KEY_

Re: AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Ross Woolf
On Thu, Aug 24, 2023 at 2:15 PM Andrea Cosentino wrote: > > Can you show the route now that you're using RAW? > > Il gio 24 ago 2023, 22:00 Ross Woolf ha scritto: > > > My secret key has a +. I used RAW( ) on both the access and secret > > keys, but the result is the same. I can

Re: AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Andrea Cosentino
Can you show the route now that you're using RAW? Il gio 24 ago 2023, 22:00 Ross Woolf ha scritto: > My secret key has a +. I used RAW( ) on both the access and secret > keys, but the result is the same. I can set a breakpoint and view the > aws configuration object and both keys make it to th

Re: AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Ross Woolf
My secret key has a +. I used RAW( ) on both the access and secret keys, but the result is the same. I can set a breakpoint and view the aws configuration object and both keys make it to the configuration object as they should be. But it fails when creating the HeadBucketRequet object. On Thu,

Re: AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Andrea Cosentino
Do you have particular characters in your key? Prefix the access key value with RAW() and the secret in the same way. Il gio 24 ago 2023, 21:13 Ross Woolf ha scritto: > I am trying to use the AWS S3 Storage Service component. I have been > unsuccessful at getting access to the S3 bucket via the

AWS S3 Storage Service gets 403 Forbidden

2023-08-24 Thread Ross Woolf
I am trying to use the AWS S3 Storage Service component. I have been unsuccessful at getting access to the S3 bucket via the component. I always get a 403 Forbidden error. I am using Camel 3.21.0, and I have tried both Java 11 and 17 with the same results. I can successfully use the AWS CLI to