- S3 Policy generator -
AWS Signature v2

Credentials

Please fill in your AWS credentials below. Your secret key is not actually transported over the wire; we are just using it for signing the document in this page (notice that this generator works off-line, it does not send any request).

Your AWSAccessKeyID:
Your AWSSecretKey:

Policy Document

The Policy document describes the conditions under which the Signer allows an Anonymous user to impersonate them. Basically, replace yourbucketname below with your bucket and click “Generate S3 Policy and Signature” button. The policy generated is valid until expiration date which is June, 15th 2024.

Users familiar with S3 could add more properties (acl, Content-Disposition, ...) to the policy by referring to the Amazon S3 documentation.

JS3Upload parameters

Based on the data you've entered above, here's the extra parameters you have to setup in JS3Upload:

param1 : "relativefilename",
value1 : "true",
param2 : "AWSAccessKeyId",
value2 : ""
param3 : "Policy",
value3 : ""
param4 : "Signature",
value4 : ""

This S3 policy generator has been adapted from the sample provided in the S3 documentation available on Amazon AWS web site.