If you are running your application from your own local machine, the recommended way to create access keys is to create a user that has specific permissions to access the AWS services that you would like your code to utilize. This is done by creating a user in the AWS identity and access management (IAM).
To create a user in IAM, we will first need to log in to the AWS main web console, then click on IAM, which should be under the Security, Identity & Compliance category:
Next, we will need to click on the User option on the right-hand side, then click on Add user to create a new IAM user:
From there, you will be treated ...