# Set webhook basic auth password in elasticsearch.yml?

**URL:** https://discuss.elastic.co/t/set-webhook-basic-auth-password-in-elasticsearch-yml/28142
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [August 26, 2015, 9:55pm UTC](https://discuss.elastic.co/t/set-webhook-basic-auth-password-in-elasticsearch-yml/28142 "2015-08-26T21:55:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![geo](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@geo](https://discuss.elastic.co/u/geo)
#### Post date: [August 26, 2015, 9:55pm UTC](https://discuss.elastic.co/t/set-webhook-basic-auth-password-in-elasticsearch-yml/28142/1 "2015-08-26T21:55:31Z")

</div>

Is it possible to set the basic auth password for a Watcher webhook in the elasticsearch.yml file rather than having to add it to each individual watch definition? Thus, avoiding the need to update every watch if/when the password changes.

---

<div class="post-metadata">

### Author: ![uboness](https://avatars.discourse-cdn.com/v4/letter/u/96bed5/32.png) [@uboness](https://discuss.elastic.co/u/uboness)
#### Post date: [August 27, 2015, 4:46pm UTC](https://discuss.elastic.co/t/set-webhook-basic-auth-password-in-elasticsearch-yml/28142/2 "2015-08-27T16:46:19Z")

</div>

Not at the moment, but that's an absolutely valid feature request we'll add to our roadmap. thanks!

---

<div class="post-metadata">

### Author: ![geo](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@geo](https://discuss.elastic.co/u/geo)
#### Post date: [August 27, 2015, 5:09pm UTC](https://discuss.elastic.co/t/set-webhook-basic-auth-password-in-elasticsearch-yml/28142/3 "2015-08-27T17:09:38Z")

</div>

Thank you.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 1:48pm UTC](https://discuss.elastic.co/t/set-webhook-basic-auth-password-in-elasticsearch-yml/28142/4 "2017-07-06T13:48:48Z")

</div>


