Closed cancan101 closed 7 years ago
If the keys are not defined in the "boto way", is the error clear?
I think it will fall back to boto barfing with something like:
NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV1Handler'] Check your credentials
Do you think it would be worth it then to handle the error to print a message telling the 2 ways StarCluster can support keys?
Seems overkill to me. Also not sure of all the points to catch this error and re-throw.
@cancan101 Just out of curiosity, what's the use case for leaving the credentials blank?
So i don't have to put my creds into config file (and I can source control it)
boto will then employ it's own resolution mechanism allowing the user to specify in config file or env var.