I am using the following project from github https://vadimdez.github.io/ng2-pdf-viewer/ to display a pdf file in my s3 bucket.
I have created an IAM account and got the key and secret. I have applied s3readonly permission to the account.
I get it the url as the src but I get a permission denied error.
How do I use the key and secret to view/get the pdf and then display it.
I see plenty of stuff about file upload but cant figure out how to use the key and secret to give permission to the url.