If you specify both role-arn and principal-arn as command-line arguments, it fails with this:
File "/usr/local/lib/python3.9/site-packages/awsume/awsumepy/app.py", line 132, in get_saml_credentials
principal_plus_role_arn = ','.join(args.role_arn, args.principal_arn)
TypeError: str.join() takes exactly one argument (2 given)
This is the line of code, it's missing brackets:
principal_plus_role_arn = ','.join(args.role_arn, args.principal_arn)
should be:
principal_plus_role_arn = ','.join([args.role_arn, args.principal_arn])
If you specify both role-arn and principal-arn as command-line arguments, it fails with this:
This is the line of code, it's missing brackets:
principal_plus_role_arn = ','.join(args.role_arn, args.principal_arn)
should be:principal_plus_role_arn = ','.join([args.role_arn, args.principal_arn])