-
Notifications
You must be signed in to change notification settings - Fork 294
Has minio supported sse-c for getObject and presignedUrl? #1019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@philling s3Client.getObject('my-versioned-bucket', 'my-versioned-object', {versionId:"my-versionId", /*add other params/headers here*/}, function(err, dataStream) { similarly: s3Client.presignedGetObject('my-bucketname', 'my-objectname', 1000, {versionId:"10fa9946-3f64-4137-a58f-888065c0732e",/*Add other params/headers here*/},requestDate, function(e, presignedUrl) { |
Also please share the versions |
"minio": "^7.0.25" |
@prakashsvmx I Had tried getObject, but The following error is still prompted:
@prakashsvmx Here is the codes s3Client.putObject(
os.bucket,
finalFileName,
file,
{
'Content-Type': mimetype,
'X-Amz-Server-Side-Encryption-Customer-Algorithm': 'AES256',
'X-Amz-Server-Side-Encryption-Customer-Key': xKey,
'X-Amz-Server-Side-Encryption-Customer-Key-MD5': xKeyMd5
},
(error, result) => {
if (error) {
return reject(error)
}
const { etag, versionId } = result
return resolve({etag, versionId})
}
) s3Client.getObject(
this.bucket,
finalFileName,
{
etag,
versionId,
'X-Amz-Server-Side-Encryption-Customer-Algorithm': 'AES256',
'X-Amz-Server-Side-Encryption-Customer-Key': xKey,
'X-Amz-Server-Side-Encryption-Customer-Key-MD5': xKeyMd5
},
(error, readerStream) => {
if (error) {
return reject(error)
}
return resolve(readerStream)
}
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Minio has supported sse-c for putObject,but not yet for getObject or presignedUrl?
The text was updated successfully, but these errors were encountered: