Allow use of a custom ca cert when working against S3 storages (#170)

This commit is contained in:
Frederik Ring
2022-12-22 14:37:51 +01:00
committed by GitHub
parent 08bafdb054
commit 9534cde7d9
7 changed files with 139 additions and 7 deletions

View File

@@ -139,6 +139,7 @@ func newScript() (*script, error) {
RemotePath: s.c.AwsS3Path,
BucketName: s.c.AwsS3BucketName,
StorageClass: s.c.AwsStorageClass,
CACert: s.c.AwsEndpointCACert.Cert,
}
if s3Backend, err := s3.NewStorageBackend(s3Config, logFunc); err != nil {
return nil, err