IAM Programmatic access and AWS CLI π β

Hello thereπ, I'm Akash Zade and I'm passionate about the world of DevOps. As a curious and dedicated learnerπ, I'm constantly exploring new ways to improve software development and make the process more efficient. With a keen interest π in cloud computing, containerization, and automation, I'm excited to share my insights and experiences as I navigate the ever-evolving world of DevOps. Join me π€ on this awesome journey where technology meets efficiency!
IAM Programmatic access
To access your AWS account from a terminal or system, you can use AWS Access keys and AWS Secret Access keys.
IAM programmatic access refers to the ability to use AWS services programmatically by making API calls using access keys and secret keys. These access keys are generated by IAM and are used to authenticate the programmatic access to AWS services.
IAM programmatic access refers to the ability to use AWS services programmatically by making API calls using access keys and secret keys. These access keys are generated by IAM and are used to authenticate the programmatic access to AWS services.
AWS CLI
The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.
The AWS CLI v2 offers several new features including improved installers, new configuration options such as AWS IAM Identity Center (successor to AWS SSO), and various interactive features.
Task-01
Create AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY from AWS Console.
Creating
access keys & secret keysare only done by admins i.e. users having AdministratorAccess as root users have.Here we have given an AdministratorAccess policy to one user.
Login via user(admin) and click on the username on the right top side then the dropdown will open and click over
security credentials.Follow the steps below.



Here we can discover our alternative access keys.

Task-02
- Setup and install AWS CLI and configure your account credentials.
To download and install AWS CLI on our window, follow the link:
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Open the downloaded MSI installer and install the setup.





Now open the
Command promptand type "aws configure".Enter the access key ID and secret key ID which is created in Task-01.

Hope it will help you!
Reference:- video
Thanks for reading my articles.
Keep learning and keep hustling.
Peace out!!





