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

Doesn't allow slash character in IAM role name (even though it's valid) #44

Open
aripalo opened this issue Apr 30, 2024 · 0 comments · May be fixed by #45
Open

Doesn't allow slash character in IAM role name (even though it's valid) #44

aripalo opened this issue Apr 30, 2024 · 0 comments · May be fixed by #45
Labels
bug Something isn't working

Comments

@aripalo
Copy link
Owner

aripalo commented Apr 30, 2024

Describe the bug

Vegas credentials doesn't work if Role name contains / character.

System (please complete the following information):

  • OS: macOS
  • OS Version: 14.4.1
  • Tool Version: 0.14.4
  • Tool Installation Method: brew
  • Credential Process invoked via: any way

To Reproduce
Steps to reproduce the behavior:

  1. Have slash character in the vegas_role_arn
  2. Try to assume role

Expected behavior
Should work

Output

❌ Credentials: Error: Profile "foobar" contains invalid vegas_role_arn "arn:aws:iam::123456789012:role/with/slash". Must satisty ^arn:aws:iam:\d*:\d{12}:role\/[a-zA-Z0-9_+=,.@-]{1,64}$
@aripalo aripalo added the bug Something isn't working label Apr 30, 2024
aripalo added a commit that referenced this issue Apr 30, 2024
@aripalo aripalo linked a pull request Apr 30, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant