# Value of "elastic" is forbidden in Kibana 8.2

**URL:** https://discuss.elastic.co/t/value-of-elastic-is-forbidden-in-kibana-8-2/305501
**Category:** Kibana
**Created:** [May 24, 2022, 12:04pm UTC](https://discuss.elastic.co/t/value-of-elastic-is-forbidden-in-kibana-8-2/305501 "2022-05-24T12:04:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![borisr84](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@borisr84](https://discuss.elastic.co/u/borisr84)
#### Post date: [May 24, 2022, 12:04pm UTC](https://discuss.elastic.co/t/value-of-elastic-is-forbidden-in-kibana-8-2/305501/1 "2022-05-24T12:04:18Z")

</div>

Hi, after upgrading to ELK 8.2, I started getting some errors, some of which I was able to resolve for now, however the last error that keeps me stuck is the error of using "elastic" user.

I'm getting the following error message:  
Error: [config validation of [Elasticsearch].username]: value of "elastic" is forbidden.

I understand the error, however I cannot understand how I can specify a service account token to be set automatically with the system's deployment. I expected to have the option of creating the token and specifying it in the Kibana config, however I don't see such as option.  
Can someone help? Did someone manage to automate this?  
I cannot have a manual setup for this, as my system is being deployed automatically and I want the Kibana to be up and running automatically with it.

Thanks!

---

<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: [June 21, 2022, 12:04pm UTC](https://discuss.elastic.co/t/value-of-elastic-is-forbidden-in-kibana-8-2/305501/2 "2022-06-21T12:04:49Z")

</div>

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