Goal :
- Configuration of Blackbox Exporter Basic Authentication in Microsoft Azure WebApp.
Pre-Requisite :
- Deploying Blackbox Exporter Image to Azure Container Registry Using Azure CLI
- Setup Blackbox Exporter in Microsft Azure (WebApp) using Azure CLI
Steps
-
web.yml (Upload this file in **suryasblackboxexporter** Storage Account Share)
basic_auth_users:
suryauser: $2a$12$6g5f3MZriVtoOZ7GrCEwzuTBxnPQwHurpktXTXUu1neg/XZeHzipy
-
Set an Startup Commmand for Blackbox Exporter WebApp which includes web.yml
az webapp config set --name $WebAppName --resource-group $ResourceGroupName --startup-file `
"--config.file=/config/blackbox.yml --web.config.file=/config/web.yml"
Top comments (0)