Skip to content

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

Description

@aripalo

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}$

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions