Skip to content

Commit

Permalink
show example config for basic auth
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
  • Loading branch information
sebhoss committed Feb 14, 2025
1 parent 283c097 commit 84e67c6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ receivers:
- url: "https://example.com:12345/alerts/ticket"
```

In case you have activated basic authentication in this service, use the following configuration in your Alertmanager:

```yaml
receivers:
- name: some-room
webhook_configs:
- url: "https://example.com:12345/alerts/pager"
http_config:
basic_auth:
username: "<username>"
password: "<password>" # or use password_file
```

Replace `<username>` and `<password>` with the values configured for this service.

## CLI Arguments

This service is a single binary which provides two CLI arguments:
Expand Down

0 comments on commit 84e67c6

Please sign in to comment.