Everything you can do via your aws console can also be done on your local Linux desktop, via the command line. First you need to install the awscli:
AnnouncementI have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!
$ yum install python-pip $ pip install awscli
Next via the web console, via IAM, create a new user, during the creation process you will generate your IAM keys.
Next on local desktop’s command line, run the “aws configure” command:
$ aws configure AWS Access Key ID [None]: AESDRFKSDGJSKDF AWS Secret Access Key ID [None]: ljlJLJljGjGLafa5454fasdf6sd5sd6sd5f4a Default region name [None]: eu-west-1 Default output format [None]:
Note: This ends up creating the ~/.aws folder. the info
These API keys are unique across the entire AWS worldwide. This means AWS can determine which aws account these API keys is associated to.
After that we could run the following to see if your machine has access to any s3 buckets:
$ aws s3 ls
Note, this could still fail if the permissions/roles that are have been assigned to the users are insufficient.