Secret Management
Best practices for managing the secrets used to connect to your sources, destinations, and the Bindplane Control Plane.
Choose an Approach
Approach
Mechanism
Use When
Configure the collector environment
# set-collector-env.ps1
# Usage: .\set-collector-env.ps1 "OPAMP_SECRET_KEY=<secret>" "OTEL_AES_CREDENTIAL_PROVIDER=<key>"
param(
[Parameter(Mandatory, ValueFromRemainingArguments)]
[string[]]$Variables
)
$service = "observiq-otel-collector"
$regPath = "HKLM:\SYSTEM\CurrentControlSet\Services\$service"
Set-ItemProperty -Path $regPath -Name Environment -Value $Variables -Type MultiString
Restart-Service $service
Write-Host "Set $($Variables.Count) variable(s) and restarted $service."Resulting file contents
manager.yaml
Last updated
Was this helpful?