laosb / ghos3

A modernized AWS S3 storage adapter for Ghost.
Other
34 stars 12 forks source link

Connect to S3 without access and secret key #4

Closed jac1013 closed 1 year ago

jac1013 commented 1 year ago

I haven't tested this, but it would be nice that access_key and secret_key were optional and we let the user use IAM roles (or instance profile) to handle the access to S3. This is the recommended practice anyway.

Thoughts?

laosb commented 1 year ago

I'm not actually that familiar with AWS S3 since I use DO Spaces / CF R2 most of the time.

Since we are using AWS S3's official SDK, it should supports this. There should be minimal effort for this plugin to adapt that. If you want to take a look to support this and send a PR, I will be very willing to accept & document it.

pradeep-dfi commented 8 months ago

For the record, AWS SDK already handles it. Nothing needs to be done. IAM role will be picked up if one is available.