AWS S3 Pre-Signed URL PHP Script

Job ID: 39540096

Budget: $30 – $250 USD

I need a PHP 7 script to do one thing: create a time-limited, single-use, pre-signed URL for a specific Amazon S3 item, utilizing the AWS SDK as outlined in the AWS documentation.

Synopsis:
Your script will be 'included' in my PHP script.
My PHP script will pass any data needed by your script to create the URL.
Your script will establish the needed pre-signed URL value - IE: $url.
My script will then use your $url variable to deliver the specified PDF document to our customer through our transactional email provider.

Requirements:
- I will install and test everything on our IONOS managed linux server.
- We have an Amazon s3 repository in place.
- The script should construct a pre-signed URL to retrieve the document from our restricted-access Amazon S3 bucket.
- The pre-signed URL should be "single use" by anyone ( if possible in a standard AWS SDK )
- The pre-signed URL should expire based on a variable number of hours from now.

Ideal skills and experience:
- Familiarity with AWS SDK and Amazon S3
- Proficiency in PHP 7 - procedural code is entirely acceptable. This will be a very low-use application

SIMPLY:
I will provide the coding to create an HTML input form with submit action to call the script I create to get POST variables;
** you provide the script which uses the POST variables in session to generate the Pre-Signed URL as a named variable; **
my simple script will 'include' your script to get the URL;
I finish off the assembly of the HTML and plain-text message content for the resulting transactional email;
and all related coding to invoke PHPMailer with required inputs / syntax;
and the SMTP sending (through Postmark app)
Related categories: PHP Amazon Web Services