Open tom-smith-okta opened 6 years ago
the --verbose parameter works, but only when called directly from the command line. So, this works:
$ awsprocesscreds-saml -e {url} -u {user} -p {idp} -a {arn} --verbose
This does not work: ~/.aws/config
[profile joe]
credential_process = awsprocesscreds-saml -e {url} -u {user} -p {idp} -a {arn} --verbose
$ aws s3 ls --profile joe
In retrospect, this makes complete sense, but I suggest updating the docs and/or somehow ignoring the --verbose flag in the context of the cli.
Yeah the verbose bits should probably print to stderr
When I use the --verbose (or -v) parameter, I can successfully authenticate and get a json object from the awsprocesscreds tool, but when this object is sent to the core cli tool I always get the following error:
I suspect that the --verbose flag is corrupting the STDOUT sent to the cli.
I am testing on a clean Ubuntu 18.04 image with Python 2.7.9. I've also tested with Python 3.6 and gotten the same result.