{"id":16653986,"url":"https://github.com/seporaitis/awscli-plugin-credential-mfa","last_synced_at":"2025-07-25T02:37:47.769Z","repository":{"id":52704701,"uuid":"145224529","full_name":"seporaitis/awscli-plugin-credential-mfa","owner":"seporaitis","description":"awscli now asks for token code when used with MFA enabled IAM accounts.","archived":false,"fork":false,"pushed_at":"2021-04-20T17:30:10.000Z","size":20,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-13T22:47:24.077Z","etag":null,"topics":["aws","aws-cli","aws-cli-plugins","aws-cli-utilities","cli","cli-tool","cloud-security","mfa","multifactor-authentication","plugin","python","security"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seporaitis.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-18T14:01:42.000Z","updated_at":"2022-03-03T19:38:44.000Z","dependencies_parsed_at":"2022-08-21T19:20:34.668Z","dependency_job_id":null,"html_url":"https://github.com/seporaitis/awscli-plugin-credential-mfa","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/seporaitis/awscli-plugin-credential-mfa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seporaitis%2Fawscli-plugin-credential-mfa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seporaitis%2Fawscli-plugin-credential-mfa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seporaitis%2Fawscli-plugin-credential-mfa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seporaitis%2Fawscli-plugin-credential-mfa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seporaitis","download_url":"https://codeload.github.com/seporaitis/awscli-plugin-credential-mfa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seporaitis%2Fawscli-plugin-credential-mfa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266254437,"owners_count":23900066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-cli","aws-cli-plugins","aws-cli-utilities","cli","cli-tool","cloud-security","mfa","multifactor-authentication","plugin","python","security"],"created_at":"2024-10-12T09:48:12.878Z","updated_at":"2025-07-25T02:37:47.741Z","avatar_url":"https://github.com/seporaitis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=============================\nawscli-plugin-credential-mfa\n=============================\n\n.. image:: https://img.shields.io/pypi/v/awscli-plugin-credential-mfa.svg\n        :target: https://pypi.python.org/pypi/awscli-plugin-credential-mfa\n\n.. image:: https://img.shields.io/travis/seporaitis/awscli-plugin-credential-mfa/master.svg\n        :target: https://travis-ci.org/seporaitis/awscli-plugin-credential-mfa\n\nAutomatically asks for MFA token key to retrieve temporary credentials.\n\nInstallation and Usage\n----------------------\n\nInstall the plugin:\n\n.. code-block:: sh\n\n   pip install awscli-plugin-credential-mfa\n\nEnable the plugin:\n\n.. code-block:: sh\n\n   aws configure set plugins.credentials awscli_plugin_credential_mfa\n\nAssuming your IAM user has `MFA enabled \u003chttps://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_users-self-manage-mfa-and-creds.html\u003e`_ and credentials set up, you also need to set ``mfa_serial`` and\n``source_profile`` in the configuration. Below are instructions for profile ``default``, adjust as\nappropriate\n\n.. code-block:: ini\n\n   [default]\n   mfa_serial = arn:aws:iam::123456789012:mfa/iam-user-name\n   source_profile = default\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseporaitis%2Fawscli-plugin-credential-mfa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseporaitis%2Fawscli-plugin-credential-mfa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseporaitis%2Fawscli-plugin-credential-mfa/lists"}