akamai / akamaipowershell

Powershell module for Akamai {OPEN} APIs
Apache License 2.0
24 stars 14 forks source link

Request - Add ability to use default credentials for proxy through environment variables #46

Closed rootadin closed 1 year ago

rootadin commented 1 year ago

Hi

Similar to what we do on line 229 on /shared/Invoke-AkamaiRestMethod.ps1 I would like to have added the following lines or something similar.

if ($null -ne $ENV:proxy_use_default_credentials) { $params.ProxyUseDefaultCredentials = $true }

Problem statement: As a user who uses proxies, I would like to be able to enable use default credentials similarly to how the enabled use of proxy through environment variables.