Skip to content

Commit

Permalink
Update ykman cmd usage to support newer versions. Also updated README…
Browse files Browse the repository at this point in the history
….md to include release process
  • Loading branch information
Ronald K. Ellis III committed Feb 26, 2022
1 parent f7eb3af commit 4cf7d8c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,11 @@ aws sts get-caller-identity --profile role-mfa
# Contribution Guidelines
I look forward to accepting more contributions on this project. The requirements are very simple right now:
* Format the code with Black
* Submit a PR
* Submit a PR

# Release Proccess
The current release process is:
* python setup.py clean
* python3 setup.py sdist bdist_wheel
* twine upload -r pypi aws_mfa_v2-*-py2.py3-none-any.whl
* pip install --upgrade aws-mfa-v2
2 changes: 1 addition & 1 deletion awsmfav2/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def _get_ykey_token(self, yk_oath_credential):
Obtains a 6 digit OATH token from a YubiKey using the ykman utility
"""
result = run(
["ykman", "oath", "code", "--single", yk_oath_credential],
["ykman", "oath", "accounts", "code", "--single", yk_oath_credential],
stdout=PIPE,
check=True,
)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="aws-mfa-v2",
version="0.2.6",
version="0.2.7",
description="Manage AWS MFA Security Credentials",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 4cf7d8c

Please sign in to comment.