XMLWordPrintable

#### Details

• Type: Story
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s: None
• Labels:
• Story Points:
6.7
• Team:
SQuaRE

#### Description

In DM-20122 we determined that presigned POST URLs are a good fit for giving upload clients the ability to upload a build without having to maintain their own AWS/S3 credentials. This ticket adds that capability to the LTD Conveyor application. Other tickets will add the ability for LTD Keeper to generate the presigned URLs.

#### Activity

Hide
Jonathan Sick added a comment -

Relevant AWS docs on using presigned POST URLs: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingHTTPPOST.html

Show
Jonathan Sick added a comment - Relevant AWS docs on using presigned POST URLs: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingHTTPPOST.html
Hide
Jonathan Sick added a comment -

From the [S3 docs|HTML Form Fields]:

The variable ${filename} is automatically replaced with the name of the file provided by the user and is recognized by all form fields. If the browser or client provides a full or partial path to the file, only the text following the last slash or backslash () is used (for example, C:\Program Files\directory1\file.txt is interpreted as file.txt). If no file or file name is provided, the variable is replaced with an empty string. This means that there needs to be a different presigned URL for each "directory" Show Jonathan Sick added a comment - From the [S3 docs| HTML Form Fields ]: The variable${filename } is automatically replaced with the name of the file provided by the user and is recognized by all form fields. If the browser or client provides a full or partial path to the file, only the text following the last slash or backslash () is used (for example, C:\Program Files\directory1\file.txt is interpreted as file.txt ). If no file or file name is provided, the variable is replaced with an empty string.   This means that there needs to be a different presigned URL for each "directory"
Hide
Jonathan Sick added a comment -
Show
Jonathan Sick added a comment - Best docs on setting up the client-side post: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTForms.html
Hide
Jonathan Sick added a comment -

Released as 0.5.0a1.

Show
Jonathan Sick added a comment - Released as 0.5.0a1.

#### People

Assignee:
Jonathan Sick
Reporter:
Jonathan Sick
Watchers:
Jonathan Sick