by shigemk2

当面は技術的なことしか書かない

gimme-aws-credsの--roles

公式のリドミには載っていないんだけど、gimme-aws-creds --help したら出てきた

  --roles ROLES         If set, the specified role will be used instead of the aws_rolename in the profile, can be specified as a comma separated list, can be regex in format /<pattern>/. for example:
                        arn:aws:iam::123456789012:role/Admin,/:210987654321:/ would match both account 123456789012 by ARN and 210987654321 by regexp

ロールを複数指定できる。

github.com