To do this enter the following commands:Īws configure set plugins.login awscli_login If you have an existing entry labeled 'default' this tool will overwrite it.Īfter you have installed the AWS CLI you need to install the Federated Login plugin.
Please note that this tool uses the 'default' user in your aws credentials file. Note that the default Python installation on MacOS is 2.7. It is important that you use Python 3.4 or higher. You can do so following the directions here. This will not work if you install AWS CLI v2. To install the Federated Login tool for the AWS CLI you first must install the AWS CLI v1. Windows directions can be found here: How to install the Federated Login tool for the AWS CLI on Windows. These directions work for MacOS and Linux.