From 891517612f13a69dfdd1279a74f61c78f86fe87a Mon Sep 17 00:00:00 2001 From: Julius Seporaitis Date: Sat, 18 Aug 2018 16:03:08 +0100 Subject: [PATCH] Update installation instructions. --- README.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index f942207..5ceff7e 100644 --- a/README.rst +++ b/README.rst @@ -13,11 +13,17 @@ Automatically asks for MFA token key to retrieve temporary credentials. Installation and Usage ---------------------- +Install the plugin: + .. code-block:: sh - python setup.py install - aws configure set plugins.credentials awscli_plugin_credential_mfa + pip install awscli-plugin-credential-mfa + +Enable the plugin: +.. code-block:: sh + + aws configure set plugins.credentials awscli_plugin_credential_mfa Assuming your IAM user has `MFA enabled `_ and credentials set up, you also need to set ``mfa_serial`` and ``source_profile`` in the configuration. Below are instructions for profile ``default``, adjust as