deliciousbrains / wp-amazon-s3-and-cloudfront

Automatically copies media uploads to Amazon S3 for delivery. Optionally configure Amazon CloudFront for even faster delivery.
https://wordpress.org/plugins/amazon-s3-and-cloudfront/
312 stars 150 forks source link

Feature Request: Session tokens #639

Open furai opened 10 months ago

furai commented 10 months ago

Hello,

The programmatic access we've got from our company requires us to use session tokens. Without them it's not possible to connect to s3 buckets.

So I'd love to request session tokens support for authentication.

I've checked docs and plugin's code and I haven't seen anything about session token based authentication.

Cheers, Furai

ianmjones commented 7 months ago

@furai is your site hosted on an EC2 instance?

Do you use federated users?

ianmjones commented 3 months ago

No response, closing.

furai commented 3 months ago

Didn't notice first reply, got lost somewhere.

It's mostly for when I'm developing locally. We're getting from our company access keys: key, secret and token. Credentials gets refreshed every 12h or so and currently plugin doesn't support authenticating with tokens. Just with key and secret.

ianmjones commented 3 months ago

Ah, that's interesting you're needing it for local dev.

I'll add this back on to the todo list then.

There's been quite a few changes in recent years in what's available in AWS/S3/CloudFront and the SDK for doing authentication etc, we need to do a round of updates to add some capabilities for sure.

Thanks for the feature request.