You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


 

Must move this page to make it public, once it is complete.

Use Case

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 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

  • No labels