我刚刚开始探索 DVC。我正在尝试将 s3 作为我的 DVC 遥控器。我正进入(状态
但是当我运行dvc push命令时,我得到一般错误说
An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
我知道当我不指定加密时会出现该错误。
它类似于aws s3 cp使用--sse标志运行或ServerSideEncryption使用 boto3 库时指定。使用 DVC 时如何指定加密类型。因为 DVC 下的 Coz 使用 boto3,所以必须有一个简单的方法来做到这一点。