| 1 |
# HTTPS Provider |
| 2 |
|
| 3 |
<!-- status autogenerated section --> |
| 4 |
| Status | | |
| 5 |
| ------------- |-----------| |
| 6 |
| Stability | [stable] | |
| 7 |
| Distributions | [core], [contrib], [k8s] | |
| 8 |
| Issues | [](https://github.com/open-telemetry/opentelemetry-collector/issues?q=is%3Aopen+is%3Aissue+label%3Aprovider%2Fhttpsprovider) [](https://github.com/open-telemetry/opentelemetry-collector/issues?q=is%3Aclosed+is%3Aissue+label%3Aprovider%2Fhttpsprovider) | |
| 9 |
|
| 10 |
[stable]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#stable |
| 11 |
[core]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol |
| 12 |
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib |
| 13 |
[k8s]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-k8s |
| 14 |
<!-- end autogenerated section --> |
| 15 |
|
| 16 |
## Overview |
| 17 |
|
| 18 |
The HTTPS Provider takes an HTTPS URI to a file and reads its contents as YAML |
| 19 |
to provide configuration to the Collector. The validity of the certificate of |
| 20 |
the HTTPS endpoint is verified when making the connection. |
| 21 |
|
| 22 |
## Usage |
| 23 |
|
| 24 |
The scheme for this provider is `https`. Usage looks like the following passed |
| 25 |
to the Collector's command line invocation: |
| 26 |
|
| 27 |
```text |
| 28 |
--config=https://example.com/config.yaml |
| 29 |
``` |
| 30 |
|
| 31 |
### Notes |
| 32 |
|
| 33 |
The provider currently only supports communicating with servers whose |
| 34 |
certificate can be verified using the root CA certificates installed in the |
| 35 |
system. The process of adding more root CA certificates to the system is |
| 36 |
Operating System-dependent. For Linux, please refer to the `update-ca-trust` |
| 37 |
command. |