After installing aws cli in your system, you have to configure your account credentials in your local system. To do that follow the below given steps.
Log in to your aws account.
Go to my security credentials.
Generate access key and save this.
Now in your local system run the below command and set credentials accordingly.
[root@vm1 ~]# aws configure
AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]:
Default output format [None]:
Hope this will help.
Enroll today to become the AWS Solutions Architect!