Using minio locally with aws s3 plugin - configuration [error: The bucket you are attempting... ]

Does somebody know how to configure the aws s3 provider in the middleware.ts and the plugins.ts so that i can locally test?

I currently have issues with

[2024-07-14 14:48:26.908] error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
    at throwDefaultError (/Users/andreaslempiklab25/Ndrslmpk/moneten/strapi-cms/node_modules/@smithy/smithy-client/dist-cjs/index.js:839:20)

and i’m not sure how to fix it. Does anybody has an idea?

I use

"@strapi/provider-upload-aws-s3": "^4.25.3",
"@strapi/strapi": "4.25.2",

with a local minio

This topic has been created from a Discord post (1262029895694028881) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord