Skip to content

Signature V4 requires AWS credentials for request signing when using MinIO with objectfs #704

@MohammadTaghipour

Description

@MohammadTaghipour

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions