wallix/awless

whoami does not seem to support paths for IAM users

nicerobot opened this issue · 0 comments

My user is defined with a path (and as an email), like analysts/some.one@example.com, e.g. ARN is arn:aws:iam::123456789012:user/analysts/some.one@example.com

Running awless whoami fails with:

[verbose] awless v0.1.11 - loading AWS session with profile 'security' and region 'us-west-2'
Username: analysts/some.one, Id: AIDA..., Account: 123456789012
[error]   ValidationError: The specified value for userName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_-
        status code: 400, request id: X-X-X-X-X