Discussions

Expand all | Collapse all

How to use AWS S3 url setup credentials?

  • 1.  How to use AWS S3 url setup credentials?

    Posted 03-10-2018 06:12
    Hello All,

    I am trying to set up a simple S3 server I can pull a url (in this case it will be a Quickbase file that's been imported already), and by clicking a button will call a script stored in the Quickbase pages that will post to S3 with a tag field I defined, for simplicity's sake it's the dbid and record id# that's in a div field as its data that's pulled into the script as

    var fileToUpload = $(this).attr('data');
    var qbfiletag = $(this).attr('data');
    Files to upload has the url exact that Quickbase is storing the file I need to import.

    I know this is possible because the Juice and Zapier teams have done it, I am just having a hard time setting up the credentials to do this as a url.

    I am not even 100% sure I set up the access key correctly. I did give read write access to mycompany.quickbase.com but other then that I have so much information for all the various that AWS">https://mindmajix.com/aws-certified-training">AWS Certified offers its hard to narrow down where I screwed up.

    Thanks


  • 2.  RE: How to use AWS S3 url setup credentials?

    Posted 03-12-2018 11:15
    >I know this is possible because the Juice and Zapier teams have done it, I am just having a hard time setting up the credentials to do this as a url.

    Juiced and Zapier have accomplished this using the relevant Amazon API from third servers. Doing the same within the browser has additional constraints. Alsom, Amazon's API has much more sophisticated authentication process beyond simply supplying login credentials or an access token.

    Amazon's API documentation provides a utility to help you create a web based form to POST a file upload:

    https://s3.amazonaws.com/doc/s3-example-code/post/post_sample.html

    You need to specify the (1) bucketname, (2) AWS ID,  (3) AWS Key,  and (4) digitally signed Policy  Document. The above utility asks for you AWS Key but it is only used to digitally sign the Policy Document.

    I happen to teach cryptology so I am very familiar with the this technology. By coincidence we have a local Amazon Meetup that coincidentally meets this  coming Thursday where I can ask  specific question about Amazon's API if necessary.

    If you need assistance with this process feel free to contact me off-world using the information in my profile:

    https://getsatisfaction.com/people/dandiebolt/