Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

This document shows how to setup and use the awscli-login tool to retrieve temporary AWS access keys using your Cornell netid credentials and Duo (i.e., Cornell Two-Step Login). Using temporary access keys associated with an AWS role to authenticate to the AWS CLI is much more safe safer than using fixed AWS access keys tied to an IAM user. Now that this option is available to Cornell AWS users, we recommend that fixed access keys no longer be used for humans using the AWS CLI.

Prerequisites

If you don't have the AWS CLI installed yet, that's great. Start by checking that you have Python 3.5 or greater, then worry about the AWS CLI.

Mac OS X

Linux

Python 3.5+

AWS CLI

Windows

Installing awscli-login

Mac OS X

Linux

Windows

Using awscli-login