this is example using html and s3 credentials