Ksama Arora

AWS Access Keys, CLI and SDK Hands On

To check AWS version : aws –version

Create a Access Key:

Screenshot-2024-07-06-at-9-08-40-PM.png

Note: AWS recommends alternatives to each use case. Below are alternatives given for CLI Screenshot-2024-07-06-at-9-09-19-PM.png

After creating Access Key, open terminal and configure aws using aws configure and then list users of iam using aws iam list-users Screenshot-2024-07-06-at-9-33-56-PM.png

Note: the command aws iam list-users will only give output if user is assigned a permission policy or else it will give an error (Access Denied) when calling ListUsers operation. Screenshot-2024-07-06-at-9-34-37-PM.png

The AWS CLI gives similar info as the AWS Management Console

Alternative to using terminal is CloudShell

Screenshot-2024-07-06-at-11-16-48-PM.png

Screenshot-2024-07-06-at-11-17-16-PM.png