tilfinltd / aws-extend-switch-roles

Extend your AWS IAM switching roles by Chrome extension, Firefox add-on, or Edge add-on
https://chromewebstore.google.com/detail/aws-extend-switch-roles/jpmkfafbacpgapdghgdpembnojdlgkdl?utm_source=github
MIT License
1.32k stars 141 forks source link

Parse problem with "role_name" #115

Closed paulhanatroche closed 3 years ago

paulhanatroche commented 5 years ago

In configuration, adding with "/" is not possible for the role-name. Such as "base_account/RoleA" for "role_name"

It will break extended switch role and leads to aws console.

here is example.

[Account2-Base-RoleA] aws_account_id = account2

[Account2-RoleA] source_profile = Account2-Base-RoleA role_name = base_acccount/RoleA aws_account_id = account2 color = ff0000

tilfin commented 5 years ago

A role_name cannot contain /. If you do federated login, there is role/user displayed on the header of AWS MC.