# Watcher syskeygen for basic authentication

**URL:** https://discuss.elastic.co/t/watcher-syskeygen-for-basic-authentication/133848
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [May 30, 2018, 9:58am UTC](https://discuss.elastic.co/t/watcher-syskeygen-for-basic-authentication/133848 "2018-05-30T09:58:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![delly.set](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@delly.set](https://discuss.elastic.co/u/delly.set)
#### Post date: [May 30, 2018, 9:58am UTC](https://discuss.elastic.co/t/watcher-syskeygen-for-basic-authentication/133848/1 "2018-05-30T09:58:33Z")

</div>

hi

I need Watcher to run Elasticsearch API, pass the request.auth.basic.username and request.auth.basic.password. Reading this url _[https://www.elastic.co/guide/en/x-pack/current/encrypting-data.html](https://www.elastic.co/guide/en/x-pack/current/encrypting-data.html)_ , we can secure the HTTP basic authentication information.

However, no details documentation on how to perform this?

any help is much appreciated. thanks.

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [June 4, 2018, 12:55pm UTC](https://discuss.elastic.co/t/watcher-syskeygen-for-basic-authentication/133848/2 "2018-06-04T12:55:01Z")

</div>

Can you be more specific what is missing? When you are configuring everything as outlined in the docs, then you can see that the data in the watch (like the password) is no more stored in cleartext.

One imporant thing: You should wait until 6.3 is released in order to use this feature, as an important bug was fixed in there.

---

<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 2, 2018, 12:55pm UTC](https://discuss.elastic.co/t/watcher-syskeygen-for-basic-authentication/133848/3 "2018-07-02T12:55:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
