How to use jupydrive-s3 with jupyterlite , what i can set credentials

How to configure Jupydrive-S3 with JupyterLite and set credentials properly?

I’m trying to use Jupydrive-S3 with JupyterLite, and I added the following configuration in:

:open_file_folder: jupyterlite/static/config.json

json

{
  "jupydrive_s3": {
    "s3Config": {
      "bucket": "your-bucket-name",
      "region": "your-region",
      "endpoint": "https://s3.your-region.amazonaws.com",
      "credentials": {
        "accessKeyId": "your-access-key",
        "secretAccessKey": "your-secret-key"
      },
      "root": "optional/path/within/bucket"
    }
  }
}

However, when I check the console, the request is failing with:

GET https://example.com/s3/jupyter-drives-test-bucket-1/?list-type=2&prefix= net::ERR_FAILED

The issue is that the request is not using the correct bucket name and endpoint that I set in my config.json file.

:red_question_mark: How can I properly configure Jupydrive-S3 with JupyterLite and ensure it uses the correct S3 credentials and endpoint?

i tried clean and build jupyter lite to make sure i have new changes but same issue it is sending request to wrong end point

jupyter lite clean
jupyter lite build

Would appreciate any guidance!

Yes, it looks like it is using what Jeremy Tuloup (@jtpio) highlighted last Fall, see here.
Unfortunately there is no response from the developers there at this time.