Hi All ,
Does Any one know about the last param of encryption file.How do we set up that.
<param name="s3.bucket.name">kuali-attachment</param>
<param name="s3.region">us-east-1</param>
<param name="s3.access.key">AKIAILGEPFFFJULUEYFxxxQS7Q</param>
<param name="s3.secret.key">2FcSxGmoopUFFF65xV7mIvfoov6O5QD6xxxxxxt</param>
<param name="s3.encryption.key.file"></param>
I have used the following code Using SDK with a defined bucket policy. Any Advice will be welcome
Thanks
Hitesh
PutObjectRequest putRequest1 = new PutObjectRequest(newBucketName, "encrypted/" + fileName + "." + System.currentTimeMillis(), file);
ObjectMetadata objectMetadata1 = new ObjectMetadata();
objectMetadata1.setSSEAlgorithm(ObjectMetadata.AES_256_SERVER_SIDE_ENCRYPTION);
putRequest1.setMetadata(objectMetadata1);
PutObjectResult response1 = s3Client.putObject(putRequest1);
System.out.println("Uploaded object encryption status is " +
response1.getSSEAlgorithm());
}
--
You received this message because you are subscribed to the Google Groups "KC Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kc.technical.co...@kuali.org.
|