Assuming that your account has been created for you, be certain to receive and store the following key/value pairs:
- username
- password
- access_key_id
- secret_access_key
- sign-in link
If your account is created via the aws console, your credentials will probably come as a CSV. If your account is created via the aws command line interface, your credentials will probably be output as an object in the console, e.g.
Username: myawsname
Password: AV3ryV3ryL0ngStr1ngF0RY0urV3ryFIrstP4SSW0rd=
Access Key: {
"UserName": "myawsname",
"Status": "Active",
"CreateDate": "2018-01-01T10:30:30.030Z",
"SecretAccessKey": "AT0k3N+y0U5houLDk33pS3CReT",
"AccessKeyId": "ASTR1NGT1EDT0Y0URK3Y",
}
Sign-in Link: https://your-subdomain.signin.aws.amazon.com/console
The first time you signin, you'll be asked to change your password. Most likely, your new password will be subject to a password policy set by your organization or root account manager.
Tip: If you have used a sub-account previously and have a password manager or auto-fill enabled, the
account name/alias
field may be overwritten. In that case, you'll need to write the account name manually along with your username and initial password.
These are items I did to make my usage easier during development i.e. to keep me from hitting tension when developing on one or more future projects.
All of these actions are taken from the same screen. To get there:
- Go to "My Security Credentials" (you can select this by hovering over your username in the nav bar)
- Go to "Users" (you can select this from the left side bar)
- Find your username in the table and select it
- Go to the "Security credentials" tab
Now, you'll see options to execute all or some of the following actions.
tags: MFA 2FA security
The easiest way to do this is to use a "Virtual MFA Device" i.e. an authentication or password manager app that supports the open TOTP standard. More Info
Tip: You don't necessarily need a mobile app. For example, the One Password desktop app can read QR codes on your screen.
-
In the "Sign-in credentials" section, select the pencil icon next to "Assigned MFA device".
-
Follow the prompts until you're presented with a QR code and form.
-
Open your authentication or password manager app, create a new entry, and scan the QR code.
-
Enter the current MFA code from your app into the first form field.
-
Wait until a new MFA code appears in your app, then enter it into the second form field.
-
Submit the form.
That's it! Your account now has MFA authentication enabled.
tags: ssh security
TODO: add ssh steps
$ ssh-keygen
> Filename: /Users/${user}/.ssh/myawsname
> Passphrase (hit enter to leave blank): <enter>
> Confirm Passphrase: <enter>
$ cat ~/.ssh/myawsname.pub
> ssh-rsa mysuperlongstring...........endshere user@some-address
copy and paste, then add to aws
tags: certificate security
TODO: add cert steps