24. How to create AWS accessKey, and accessID for your code

locks

To integrate your AWS or to communicate with AWS Services with your Front-end or backend code we need “programmatic access” known as – AccessKey, and SecretAccessID.

You can watch video of this blog here

What is AccessKey, and AccessID and why we need these?

In every full-stack application, communication with AWS services requires access to our AWS account and its associated services to perform operations. Ensuring the right level of access is essential for security reasons. It is crucial to adhere to the principle of ‘least privilege,’ granting only the minimum permissions necessary, as unauthorized access to your AWS console can pose significant security risks.

In AWS, we can make this communication through programmatic access.

What would be the cost of using IAM?IAM won’t cost you anything
Is it a Global or regional service?IAM is a global service

How to create it?

Creating a user from AWS console is easy. It is just about clicking buttons. Below are the steps you need to follow to create a user:

  1. Login to your AWS account, and click on “Create User
  2. Give a logical name to your user and click “Next
  3. Add the permission to the created user. These permission can be AWS provided or you can create your own. Now, click on “Review and create” button
  4. Once your user is create, click on the dashboard and go the new user
  5. Look for the tab – “security credentials” click on it
  6. Now, click on “create Accesskey
  7. Download or copy these somewhere, as we need it in future and AWS doesn’t provide us another opportunity to download or see these credentials.

Use cases:

  1. When you want to store the front-end code to DynamoDB
  2. When you want to integrate Lambda functions in your project

Your can check my Twitter, LinkdIn, and YouTube

Happy Learning!!

Response

  1. […] Cloudtips 24. How to create AWS accessKey, and accessID for your code (Neha Sharma) […]

Leave a Reply

Discover more from Cloudtips

Subscribe now to keep reading and get access to the full archive.

Continue reading