Posts

Showing posts from May, 2021

AWS named profile with Access Key

Image
Named profile    A named profile is a collection of settings and credentials that you can apply to a AWS CLI command. Requirement  aws users  aws cli    Creating the User access key Access to your aws console account and open to iam ( https://console.aws.amazon.com/iam/ )   Choose users    Choose security credential tap      In the Access keys section, choose Create access key .    To download the key pair, choose Download .csv file .   Creating AWS named profile    $ aws configure AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE (Your key id) AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY (Your Secret Key) Default region name [None]: ap-southeast-1   This will have created the ~/.aws/credentials file and ~/.aws/config populated it with the credentials settings.   $ ls -la ~/.aws/ total 16 drwxr-xr-x       4...