Categories
Mastering Development

How do I specify encryption type when using s3remote for DVC

I have just started to explore DVC. I am trying with s3 as my DVC remote. I am getting

But when I run the dvc push command, I get the generic error saying

An error occurred (AccessDenied) when calling the PutObject operation: Access Denied

which I know for a fact that I get that error when I don’t specify the encryption.

It is similar to running aws s3 cp with --sse flag or specifying ServerSideEncryption when using boto3 library. How can I specify the encryption type when using DVC. Coz underneath DVC uses boto3 so there must be an easy way to do this.

Leave a Reply

Your email address will not be published. Required fields are marked *