Open rdingwell opened 6 years ago
unfortunately the cli currently does not provide this capability.
I really need awsmobile-cli to support proxies too! We are behind a corporate firewall & its good that the standard aws-cli supports proxying already. Its built into npm & operating system defaults, so please add soon or we are unable to use aws-mobile thanks
When attempting to use the cli behind a proxy all of the calls I make result in network timeouts. I have just about every environment variable I can think of to attempt to set the proxy but either the cli or underlying aws-sdk does not appear to pick these up. I fired up wireshark to see what was going on and saw the traffic is not attempting to go through the proxy.
Is there a way to set a configuration variable to have the CLI use a proxy?
The only information I found is for the aws-sdk-javascript which seems to point to this needing to be done in code, which does not seem practical for a cli based tool. https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-configuring-proxies.html Thanks