AllAccessDisabled Error for mino set as remote

Hello DVC community,

I have configure minio as the remote via dvc remote add and also modified the endpointUrl to the correct value.

However I get the following error when I run dvc push:

botocore.exceptions.ClientError: An error occurred (AllAccessDisabled) when calling the ListObjects operation: All access to this bucket has been disabled.

Is this due to wrong access key and secret for minio? How does the plumbing between dvc and minio work in terms of credentials?

Thanks in advance!

1 Like

Hi @harshtrivedi134,

Looks like it’s not clear from our docs (will fix), but I believe that For S3-compatible storage you need to configure the authentication explicitly with dvc remote modify (See Amazon S3 section in the ref). Otherwise DVC may try to use your AWS CLI default credentials (if any), which could lead to that error.


Thanks @jorgeorpinel, appreciate your response.

I was able to fix the issue by modifying the remote and adding the following parameters. I was using Minio(s3 compatible storage)

  1. aws profile (dvc remote modify myremote profile myprofile) →
  2. credential path(dvc remote modify myremote credentialpath /path/to/creds) “~/.aws/.credentials”

You can mention this explicitly in the docs.