14

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.

Greg
  • 10,696
  • 22
  • 68
  • 98
  • 1
    Possible duplicate of [How do I get AWS\_ACCESS\_KEY\_ID in amazon? Sandbox account of some kind?](http://stackoverflow.com/questions/21440709/how-do-i-get-aws-access-key-id-in-amazon-sandbox-account-of-some-kind) – kenorb Jun 29 '16 at 00:04

1 Answers1

14

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.

Community
  • 1
  • 1
tedder42
  • 23,519
  • 13
  • 86
  • 102
  • 1
    Everyone links to this page, but it has no "Access Keys" section. I think this answer might be out of date. – rspeer Sep 15 '15 at 19:06
  • For me, the section is instead called "Create individual IAM users". This indicates it might also be about the type of account I'm using. But be aware that this answer doesn't apply to everyone. – rspeer Sep 15 '15 at 19:14
  • the second link ("types of") has 'access keys', @rspeer. – tedder42 Sep 15 '15 at 20:29
  • I was referring to the actual Security Credentials page, not the documentation. When it says "In the Access Keys section, click Create New Access Key.", it presumes you have an Access Keys section. – rspeer Sep 15 '15 at 20:42
  • @rspeer you can't click on that "security credential" link as a root user? – tedder42 Sep 15 '15 at 20:51
  • No, I'm not a root user. If you're presuming the user is a root user, you should say so. – rspeer Sep 15 '15 at 21:24