However, it seems that I always get an “Access Denied” error. I configured other services before such as S3 storage for Matrix server and GoToSocial before without any issue.
I have tried several configurations, such as disabling and enabling the auto creation or even with and without combination of path style.
I have also created new credentials just to be sure it was not my fault.
Does this happen to you? Did any of you got it working without the application for external storage (which can also be used as primary storage by making it dependent in that the application is not disabled) or the self-hosted gateway?
Have you specified the Endpoint? If not, it will try to connect to Amazon S3 instead of Storj DCS.
It’s also working with self-hosted s3-compatible gateway as well (but requires to be run on the same server or need to be configured with reverse proxy and SSL support to secure your connection, because by default it uses HTTP).
You may also take a look on a native integration instead of S3: Nextcloud with Storj - Storj DCS Docs
Could you please show your current configuration for the S3 integration (you may mask the private information)?
Also please try to grant all permissions to these credentials, maybe it want something unusual (for example, if you specified a wrong name for the bucket and it wants to create it).