You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/azure/sdk/configure-proxy.md
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,21 @@ Using the Azure Key Vault Secrets library as an example, you'd have the followin
29
29
30
30
## Configure using environment variables
31
31
32
-
Depending on whether your proxy server uses HTTP or HTTPS, set either the environment variable `HTTP_PROXY` or `HTTPS_PROXY`, respectively. The proxy server URL takes the form `http[s]://[username:password@]<ip_address_or_hostname>:<port>/`, where the `username:password` combination is optional. To get the IP address or hostname, port, and credentials for your proxy server, consult your network administrator.
32
+
The following table provides an inventory of environment variables that can be set to configure a proxy for use.
|`HTTP_PROXY`| The proxy server used on HTTP requests. |
37
+
|`HTTPS_PROXY`| The proxy server used on HTTPS requests. |
38
+
|`ALL_PROXY`| The proxy server used for both HTTP and HTTPS requests, in case `HTTP_PROXY` or `HTTPS_PROXY` are undefined. |
39
+
|`NO_PROXY`| A comma-delimited list of hostnames to exclude from proxying. |
40
+
41
+
Be aware of the following behaviors:
42
+
43
+
- Each environment variable in the preceding table can alternatively be defined as lowercase. For example, `http_proxy`. The lowercase form takes precedence over the uppercase form.
44
+
- Protocol-specific environment variables take precedence over `ALL_PROXY`.
45
+
46
+
The proxy server URL takes the form `http[s]://[username:password@]<ip_address_or_hostname>:<port>/`, where the `username:password` combination is optional. To get the IP address or hostname, port, and credentials for your proxy server, consult your network administrator.
33
47
34
48
The following examples show how to set the appropriate environment variables in command shell (Windows) and bash (Linux/macOS) environments. Setting the appropriate environment variable causes the Azure SDK for .NET libraries to use the proxy server at runtime.
35
49
@@ -43,10 +57,10 @@ rem Authenticated HTTP server:
0 commit comments