Using an S3 presigned POST url. Copy the generate.py script to your machine. Update the BUCKET_NAME and KEY_NAME values in the script as needed. Run python generate.py. It will spit some output like the following: $ python3 generate.py