PlagueHO / CosmosDB

PowerShell Module for working with Azure Cosmos DB databases, collections, documents, attachments, offers, users, permissions, triggers, stored procedures and user defined functions.
http://dscottraynsford.com
MIT License
152 stars 46 forks source link

Add proxy configuration for internal Invoke-WebRequest #454

Open jaslawinMs opened 2 years ago

jaslawinMs commented 2 years ago

Issue

Before submitting your issue for the CosmosDB project, please take a moment to provide the following details:

Thanks for contributing your feedback and support! You can optionally submit a Pull Request against this project, if you have a fix you'd like to share.

Hi, thx for the module! My environment is a secure one and outgoing communication must have proxy setup. I would like to ask you to add extra configuration that goes to Invoke-WebRequest: -Proxy -ProxyUseDefaultCredentials -NoProxy

I would be happy to add it as well but I feel this proxy configuration may need some design decision first.