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
# The Proxy is discovered via environment variables:
94
+
# see https://pkg.go.dev/net/http#ProxyFromEnvironment for details.
95
+
96
+
provider "tls" {
97
+
proxy {
98
+
from_env = true
99
+
}
100
+
}
101
+
102
+
data "tls_certificate" "test" {
103
+
url = "https://example.com"
104
+
}
105
+
```
106
+
107
+
<!-- schema generated by tfplugindocs -->
108
+
## Schema
109
+
110
+
### Optional
111
+
112
+
-`proxy` (Block List, Max: 1) Proxy used by resources and data sources that connect to external endpoints. (see [below for nested schema](#nestedblock--proxy))
113
+
114
+
<aid="nestedblock--proxy"></a>
115
+
### Nested Schema for `proxy`
116
+
117
+
Optional:
118
+
119
+
-`from_env` (Boolean) When `true` the provider will discover the proxy configuration from environment variables. This is based upon [`http.ProxyFromEnvironment`](https://pkg.go.dev/net/http#ProxyFromEnvironment) and it supports the same environment variables (default: `true`).
120
+
-`password` (String, Sensitive) Password used for Basic authentication against the Proxy.
121
+
-`url` (String) URL used to connect to the Proxy. Accepted schemes are: `http`, `https`, `socks5`.
122
+
-`username` (String) Username (or Token) used for Basic authentication against the Proxy.
0 commit comments