Overview
The Amazon S3 Utilities Plug-in leverages the Amazon AWS Java API to connect with Amazon S3 to store and retrieve files.
Key Features & Functionality
The following smart services are included:
The plug-in also includes a function:
Amazon S3 Utilities supports the following Amazon S3 features:
Note: The plug-in requires Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files when using client side encryption.
(https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html)
The Appian Secure Credential Store is leveraged for the credentials to integrate with Amazon S3. Before executing the plug-in, create an new secure credential store with the following 3 attributes. These values are obtained from Amazon AWS IAM console.
Will check it out, thank you!
Please see my instructions on plugin usage in a response form Jan 8, 2021. The 5 seconds is only needed to redirect the user to the pre-signed url and begin download. The download will continue as long as the connection is not interrupted.
Hello,
Is it possible to increase the expiration time? If we can have it as input that would be great; because due to Appian restrictions, we only have 5 seconds to generate a link and download the file.
Sure, we can deprecate the old function and add a new parameter. That said, this would not be a priority any time soon so if you feel like contributing, go for it! The source code is included in the jar.
is it possible enable accelerate URLs for getpresignedurlfors3 rule? https://docs.aws.amazon.com/AmazonS3/latest/userguide/transfer-acceleration.html
I think you can add a parameter for that
new AWS.S3({useAccelerateEndpoint: true});
That is correct, download only.
Hi,
getPreSignedURLForS3 is only to download the file securely or for upload as well?
Thanks Mike. Appreciate your help.. We implemented and its working as expected. Thanks again .Have a good day!
baratc I don't have documentation explaining this in detail, but in the plugin description there is a line "It can be used in a WebAPI object to redirect a user from Appian to a resource on S3". That is exactly what you need to do. As you experienced, you cannot generate an S3 link and directly put it on the form as it will expire inside 5s. What you need is a WebAPI that will take in a doc id, validate user access, generate the AWS link and respond with a 302 (redirect). You can then put static links to the web api on your form.