# Restricting Security Index deletion and minimal configuration requirement for user other than super user for health management with XPACK 6.8.1

**URL:** <https://discuss.elastic.co/t/restricting-security-index-deletion-and-minimal-configuration-requirement-for-user-other-than-super-user-for-health-management-with-xpack-6-8-1/225673>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring, elastic-stack-security\
**Created:** [March 30, 2020, 12:36pm UTC](https://discuss.elastic.co/t/restricting-security-index-deletion-and-minimal-configuration-requirement-for-user-other-than-super-user-for-health-management-with-xpack-6-8-1/225673 "2020-03-30T12:36:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AsifIqbal](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@AsifIqbal](https://discuss.elastic.co/u/AsifIqbal)\
**Post date:** [March 30, 2020, 12:36pm UTC](https://discuss.elastic.co/t/restricting-security-index-deletion-and-minimal-configuration-requirement-for-user-other-than-super-user-for-health-management-with-xpack-6-8-1/225673/1 "2020-03-30T12:36:21Z")

</div>

Hi,

We are facing issues with security implementation of XPACK-elastic 6.8.1.  
1- Security index got deleted twice automatically recently due to super user password change but earlier reason was unknown. I have certain queries as mentioned below-  
a- Is there any relation between super user password change and security index?  
b- Is there any way that we can recover the deleted security index and other indexes if any?  
c- Is there any way that we can restrict the security index deletion after the initial setup/installation of Xpack.  
2- elastic super user name and password is visible in the elastic json of DCOS is there any way that we can encrypt it or use a different user all together to mitigate the security risk.

Thanks  
Asif

---

<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:** [April 27, 2020, 12:36pm UTC](https://discuss.elastic.co/t/restricting-security-index-deletion-and-minimal-configuration-requirement-for-user-other-than-super-user-for-health-management-with-xpack-6-8-1/225673/2 "2020-04-27T12:36:22Z")

</div>

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