Open atoulme opened 1 year ago
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
This issue has been closed as inactive because it has been stale for 120 days with no activity.
It would be great to get added.
cc: @MovieStoreGuy based on your sig comment about secrets management.
The current requirement to shim all confmap.Provider settings via resolver uris is tricky for nontrivial configuration though, and reconciling that w/ the proposed config source interface is the main challenge w/ rfes like this tmk.
I would be interested in something like this but perhaps less "custom" is the best way to phrase it.
For example, if someone wanted to adopt this with the collector builder, they would need to do some custom patching in order for it to work.
+1 for the feature
@MovieStoreGuy looks like that's orthogonal to the config source provider, you're saying that the builder doesn't support setting additional config source providers. I believe this is tracked here: https://github.com/open-telemetry/opentelemetry-collector/issues/4759
Would you be interested to sponsor this component?
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
The purpose and use-cases of the new component
This component currently exists in the Splunk OpenTelemetry Collector distribution: https://github.com/signalfx/splunk-otel-collector/tree/main/internal/configsource/vaultconfigsource
Use the Vault config source to retrieve data from Vault and inject it into your collector configuration. It supports:
Example configuration for the component
Under the
config_sources:
usevault:
orvault/<name>:
to create a Vault config source. The following parameters are available to customize Vault config sources:If multiple paths are needed create different instances of the config source, example:
Note: When using the Key/Value V2 secret engine, all data will be nested under a separate data map within the secret, e.g.
data
andmetadata
, to access specific keys specify the "map" and the "key" using a.
as separator, eg:data.username
.Telemetry data types supported
N/A
Is this a vendor-specific component?
Sponsor (optional)
No response
Additional context
No response