# Remove xpack.security.authc.realms.active\_directory.my\_ad.secure\_bind\_password

**URL:** <https://discuss.elastic.co/t/remove-xpack-security-authc-realms-active-directory-my-ad-secure-bind-password/368436>\
**Category:** Elasticsearch\
**Created:** [October 8, 2024, 11:03am UTC](https://discuss.elastic.co/t/remove-xpack-security-authc-realms-active-directory-my-ad-secure-bind-password/368436 "2024-10-08T11:03:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [October 8, 2024, 11:03am UTC](https://discuss.elastic.co/t/remove-xpack-security-authc-realms-active-directory-my-ad-secure-bind-password/368436/1 "2024-10-08T11:03:11Z")

</div>

Hello

I was trying to setup AD auth but I see the license doesnt support it anymore so I was trying to remove it but now I get

Caused by: org.elasticsearch.common.settings.SettingsException: found settings for the realm [my\_ad] (with type [active\_directory]) in the secure settings (elasticsearch.keystore), but this realm does not have any settings in elasticsearch.yml. Please remove these settings from the keystore, or update their names to match one of the realms that are defined in elasticsearch.yml -

How do I remove the password?

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 11, 2024, 2:23am UTC](https://discuss.elastic.co/t/remove-xpack-security-authc-realms-active-directory-my-ad-secure-bind-password/368436/2 "2024-10-11T02:23:17Z")

</div>

You can use [elasticsearch-keystore](https://www.elastic.co/guide/en/elasticsearch/reference/current/elasticsearch-keystore.html) remove

```auto
elasticsearch-keystore remove xpack.security.authc.realms.active_directory.my_ad.secure_bind_password

```
