When configuring Moodle with the tool_objectfs plugin to use MinIO (S3-compatible storage), the following error occurs:
Exception - Could not resolve an authentication scheme: Signature V4 requires AWS credentials for request signing
Expected behavior
The plugin should connect successfully to MinIO using the provided S3 credentials (Access key / Secret key).
Actual behavior
Connection fails with the exception above, as if no AWS credentials were being passed to the request signer.
Environment
Moodle version: 5.0.2
tool_objectfs version: 2025040900
Deployment: Docker
Additional context
Using Moodle version 4.3 works fine but was not working with 5.0.2 and 4.5.
All plugins are updated to the latest version.
