Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug report on 'assume_role' usecase. #4

Open
no-brand opened this issue Apr 19, 2021 · 0 comments
Open

bug report on 'assume_role' usecase. #4

no-brand opened this issue Apr 19, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@no-brand
Copy link
Owner

found issue to should be fixed.

2021-04-19 13:31:42,577 | D | 40394 | MainThrea | [aws-cli-mfa] read mfa_device_arn (arn:aws:iam::${account-id}:mfa/${iam_user}) from ~/.aws/credentials
2021-04-19 13:31:44,121 | D | 40394 | MainThrea | [aws-cli-mfa] get-session-token is succeeded

Traceback (most recent call last):
  File "../aws-cli-mfa", line 6, in <module>
    module.run()
  File "../aws-cli-mfa/awsclimfa/main.py", line 80, in run
    args.assume_role = config[args.assume_profile]['assume_role_arn']
  File "../anaconda3/lib/python3.8/configparser.py", line 960, in __getitem__
    raise KeyError(key)
KeyError: None
@no-brand no-brand self-assigned this Apr 19, 2021
@no-brand no-brand added the bug Something isn't working label Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant