# Not able to to overwrite elasticsearch.keystore in elasticsearch 8.8.0

**URL:** https://discuss.elastic.co/t/not-able-to-to-overwrite-elasticsearch-keystore-in-elasticsearch-8-8-0/335289
**Category:** Elasticsearch
**Tags:** elastic-stack-security, docker
**Created:** [June 6, 2023, 7:12am UTC](https://discuss.elastic.co/t/not-able-to-to-overwrite-elasticsearch-keystore-in-elasticsearch-8-8-0/335289 "2023-06-06T07:12:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![prathibha](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@prathibha](https://discuss.elastic.co/u/prathibha)
#### Post date: [June 6, 2023, 7:12am UTC](https://discuss.elastic.co/t/not-able-to-to-overwrite-elasticsearch-keystore-in-elasticsearch-8-8-0/335289/1 "2023-06-06T07:12:23Z")

</div>

Hello Everyone,  
I have a single node elastic running on a centos vm . This elastic is running as a docker container and I am trying to upgrade from 7.16-\> 7.17-\> 8.8.0. I have multile configuration files mounted on to container with customized configuration . I am trying to mount elasticsearch.keystore in the same way but it's failing due to ownership issue. What I have observed with this is the ownership updated from 'root' to 'elasticsearch' in 8.8.0 version but it's same as root in 7.x version. I want to update elasticsearch.keystore to incorporate 'xpack.security.authc.realms.oidc.uidoidc.rp.client\_secret ' into this file while container is starting.  
Vesion 8.8.0 -elasticsearch docker container:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/5/d51b5f91b728dc5bdee2d9ab1390071095abd336.png)

Vesion 7.16.0 -elasticsearch docker container:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/e/0eba9c57ba2c3bef96616c9ed2ff6eef602f361a.png)

It would be much appreciated if anyone could guide me here to resolve this issue

Thanks& Regards  
Prathibha.M

---

<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 4, 2023, 7:12am UTC](https://discuss.elastic.co/t/not-able-to-to-overwrite-elasticsearch-keystore-in-elasticsearch-8-8-0/335289/2 "2023-07-04T07:12:31Z")

</div>

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