Yamazaki93/S3Uploader

How to connect with key and secret?

Paxa opened this issue · 3 comments

Paxa commented

I don't have credentials file, but I have bucket name, region, key and secret. How can I use that?

Paxa commented

I was able to create credentials file, but this key can't fetch buckets list, only have access to content in one bucket. So it's stuck spinning in accounts list.

btw how can we open web inspector?

Hi,
So currently one limitation is it lists the buckets of all account on connect which means you will need "list" permission to use the app. Will schedule in to add new feature to support accessing specific bucket.
And the web inspector is disabled in release build as default configuration, you will need to pull the repo and build it to open the web inspector.

Hi,
I would like to connect to a local S3 Emulator. After reviewing AWS.S3(config) for aws-sdk@2.484.0 I see we can pass an attribute endpointsuch that the configuration could look like this...

    config = {
        s3ForcePathStyle: true,
        accessKeyId: 'xxxxxxxxxxxxx',
        secretAccessKey: 'xxxxxxxxxxxxx',
        endpoint: new AWS.Endpoint('http://0.0.0.0:4567')
    },
    s3 = new AWS.S3(config)

I tried to fork this code, and hack my change in, but I'm not sure where to do this. can you point me where I can add this in to go to a different end point. I thought maybe it could be in accounts.ts can you add something like what Im requesting easily or at least point me to the best place to add this ?
thank you, this is a fine product, keep up the work.