Prev Question
Next Question

Your company has developed a web application and is hosting it in an Amazon S3 bucket configured for static website
hosting. The application is using the AWS SDK for JavaScript in the browser to access data stored in an Amazon
DynamoDB table. How can you ensure that API keys for access to your data in DynamoDB are kept secure?

Create an Amazon S3 role in IAM with access to the specific DynamoDB tables, and assign it to the bucket hosting your website.

Configure S3 bucket tags with your AWS access keys for your bucket hosing your website so that the application can query them for

Configure a web identity federation role within IAM to enable access to the correct DynamoDB resources and retrieve temporary

Store AWS keys in global variables within your application and configure the application to use these credentials when making requests.

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *