DEV Community

Cover image for Configure Alert Manager with Basic Authentication in Microsoft Azure WebApp
Suryabhan Singh Vaghela
Suryabhan Singh Vaghela

Posted on

2

Configure Alert Manager with Basic Authentication in Microsoft Azure WebApp

Goal :

  • Configuration of Alert Manager Basic Authentication in Microsoft Azure WebApp.

Pre-Requisite :

Steps

  1. Create a web.yml file (documentation)

  2. You can also use bcrypt generators on the web

Configuration of Alert Manager Basic Authentication in Microsoft Azure WebApp
Configuration of Alert Manager Basic Authentication in Microsoft Azure WebApp
Configuration of Alert Manager Basic Authentication in Microsoft Azure WebApp

  • web.yml (Upload this file in **suryasalertmanager ** Storage Account Share)
basic_auth_users:
  suryauser: $2a$12$6g5f3MZriVtoOZ7GrCEwzuTBxnPQwHurpktXTXUu1neg/XZeHzipy
Enter fullscreen mode Exit fullscreen mode

Configuration of Alert Manager Basic Authentication in Microsoft Azure WebApp

  • Set an Startup Commmand for Alert Manager WebApp which includes web.yml
az webapp config set --name $WebAppName --resource-group $ResourceGroupName --startup-file `
"--config.file=/etc/alertmanager/config.yml --web.config.file=/etc/alertmanager/web.yml --storage.path=/alertmanager --cluster.advertise-address=0.0.0.0:9093"
Enter fullscreen mode Exit fullscreen mode

Configuration of Alert Manager Basic Authentication in Microsoft Azure WebApp

Configuration of Alert Manager Basic Authentication in Microsoft Azure WebApp

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs