# Workplace Search Cloud \> Disable Native login

**URL:** <https://discuss.elastic.co/t/workplace-search-cloud-disable-native-login/289046>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [November 12, 2021, 6:37am UTC](https://discuss.elastic.co/t/workplace-search-cloud-disable-native-login/289046 "2021-11-12T06:37:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt\_elastic](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@matt\_elastic](https://discuss.elastic.co/u/matt_elastic)\
**Post date:** [November 12, 2021, 6:37am UTC](https://discuss.elastic.co/t/workplace-search-cloud-disable-native-login/289046/1 "2021-11-12T06:37:05Z")

</div>

Hi Everyone,  
I've configured saml linked to azure active directory and its working great. I've managed to disable the "login with elastic cloud" option via the deployment config however I can't work out how to disable the "native" realm. e.g. the "username" and "password" prompt. Is there a way to hide / disable this?

Image below

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/4/a41f0c72e12b80d3748a934ddd111958499759e9.png)

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [November 15, 2021, 4:50pm UTC](https://discuss.elastic.co/t/workplace-search-cloud-disable-native-login/289046/2 "2021-11-15T16:50:56Z")

</div>

I don't believe there is. This is to avoid you being locked out of Enterprise Search - your Elasticsearch super user credentials (which you hopefully copied/downloaded when you launched your deployment) will always be able to get you access to Enterprise Search.

You can, however, set up role mappings that restrict access to any but Elasticsearch super users.

---

<div class="post-metadata">

**Author:** ![jgr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jgr/32/97041_2.png) [@jgr](https://discuss.elastic.co/u/jgr)\
**Post date:** [November 15, 2021, 7:55pm UTC](https://discuss.elastic.co/t/workplace-search-cloud-disable-native-login/289046/3 "2021-11-15T19:55:12Z")

</div>

Hi Matt,

I believe you can hide the native realm in Cloud with the following setting:

```auto
ent_search.auth.cloud-native.hidden: true

```

It sounds like you're already familiar with setting Enterprise Search settings in Cloud, but just in case you need it, this documentation should be helpful: [https://www.elastic.co/guide/en/cloud/current/ec-manage-enterprise-search-settings.html](https://www.elastic.co/guide/en/cloud/current/ec-manage-enterprise-search-settings.html)

---

<div class="post-metadata">

**Author:** ![matt\_elastic](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@matt\_elastic](https://discuss.elastic.co/u/matt_elastic)\
**Post date:** [November 15, 2021, 10:31pm UTC](https://discuss.elastic.co/t/workplace-search-cloud-disable-native-login/289046/4 "2021-11-15T22:31:34Z")

</div>

@jgr Thanks a heap. Yep that was the setting I was after.

---

<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:** [October 31, 2022, 2:48am UTC](https://discuss.elastic.co/t/workplace-search-cloud-disable-native-login/289046/5 "2022-10-31T02:48:07Z")

</div>

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