Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is aws_access_key_id and aws_secret_access_key in AWS?

I've signed up for a new AWS account and generated a new keypair. I've got the PEM file.

I start a new instance and log into it. I'm trying to do an 'aws configure' but its asking for aws_access_key_id and aws_secret_access_key. What are these? I've just got this PEM file.

like image 982
Greg Avatar asked Apr 23 '15 16:04

Greg


People also ask

What is my AWS access key ID?

To find which IAM user owns a specific access key (console) Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam/ . In the navigation pane, choose Users. In the search box, type or paste the access key ID of the user you want to find.

Where is AWS secret key?

To create a new secret access key for an IAM user, open the IAM console. Click Users in the Details pane, click the appropriate IAM user, and then click Create Access Key on the Security Credentials tab.

What is Source_profile in AWS config?

source_profile - The AWS CLI profile that contains credentials / configuration the CLI should use for the initial assume-role call. This profile may be another profile configured to use assume-role , though if static credentials are present in the profile they will take precedence.


1 Answers

AWS Security Credentials

When you interact with AWS, you use AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. In other words, security credentials are used to authenticate and authorize calls that you make to AWS.

Types of Security Credentials

Access keys (access key ID and secret access key)

Access keys consist of an access key ID (like AKIAIOSFODNN7EXAMPLE) and a secret access key (like wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY). You use access keys to sign programmatic requests that you make to AWS whether you're using the AWS SDK, REST, or Query APIs.... Access keys are also used with command line interfaces (CLIs).

Finally, under How Do I Get Security Credentials?

Access keys (access key ID and secret access key) ... You can create new access keys for the account by going to the Security Credentials page. In the Access Keys section, click Create New Access Key.

like image 136
tedder42 Avatar answered Oct 21 '22 04:10

tedder42