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

Access/Permissions with MFA #84

Open
jaydeland opened this issue May 27, 2021 · 2 comments
Open

Access/Permissions with MFA #84

jaydeland opened this issue May 27, 2021 · 2 comments

Comments

@jaydeland
Copy link

awstaghelper ec2 get-ec2-tags --filename ec2Tag.csv --tags Name,Owner -p "dev-mfa"
2021/05/27 12:08:40 Not able to get EC2 instances UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: 81d00a8b-1e11-4e3b-a23f-730b31d03fdd

Config File:
5 │ [dev-mfa]
6 │ region = us-east-1
7 │ output = txt
8 │
9 │ [profile dev-mfa]
10 │ region = us-east-1
11 │ output = txt
12 │ AWS_SECRET_ACCESS_KEY
13 │ AWS_ACCESS_KEY_ID =
14 │ AWS_SESSION_TOKEN =

@mpostument
Copy link
Owner

Right now awstaghelper do not work with assumed role or mfa. I will look in to support of this

@mpostument
Copy link
Owner

I started migration awstaghelper to aws sdk v2 and this will be supported. But don't have ETA yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants