feat: Presigned URLs
This commit is contained in:
+1
-1
@@ -170,7 +170,7 @@ func (s3 *S3) FileDelete(u DeleteInput) error {
|
||||
|
||||
s3.writeStringToSign(h, t, req)
|
||||
|
||||
auth := bytes.NewBufferString("AWS4-HMAC-SHA256 ")
|
||||
auth := bytes.NewBufferString(algorithm)
|
||||
auth.Write([]byte("Credential=" + s3.AccessKey + "/" + s3.creds(t)))
|
||||
auth.Write([]byte{',', ' '})
|
||||
auth.Write([]byte("SignedHeaders="))
|
||||
|
||||
Reference in New Issue
Block a user