Table of contents
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 keys
are 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 prompt
and 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!!