If you're reading this, you probably don't have any idea how to set up your AWS credentials. Fortunately, with the powers of computers, we're going to make this easy for you!
"But wait," you say, "doesn't <x> already do this?"
Probably! Oh well!
- You can
npm installstuff - You have AWS credentials for the env you need and you've set up an MFA device
npm install- you've used node before, right?- Get your AWS credentials. You could technically do this first, if you wanted,
but this is an exercise in following directions, so pay attention.
- Log into the aws console
- Go to Security Credentials (under your account at the top right)
- Search your name
- Click your name
- Create an access key
- Copy the template creds file to your aws home -
cp credentials ~/.aws/credentials - Copy the access key id and secret access key into that file
- Copy the mfa file to your aws home -
cp mfa_id ~/.aws/mfa_id - Copy your MFA token into that file. You can find this in the "Assigned MFA device" field in the security credentials section of the AWS user page. (e.g. arn:aws:iam:::mfa/).
- Think, "wouldn't it have been easier to just
echo <mfa:device:id> ~/.aws/mfa_id" - Remember what I said about following directions and just do it
- npm start
- Enter your MFA token
- Check
~/.aws/credentialsto make sure you have a[default]section with credentials - Send Matt Cheely and Xander Dumaine $5
F.A.Q
- Q: Why were there so many steps up there? Couldn't you have used sentences
and shortened it up?
- A: Stop asking so many questions
- Q: Why is this README so snarky?
- A: ¯\_(ツ)_/¯