# Elasticsearch shield plugin with node client

**URL:** https://discuss.elastic.co/t/elasticsearch-shield-plugin-with-node-client/51239
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [May 29, 2016, 5:26am UTC](https://discuss.elastic.co/t/elasticsearch-shield-plugin-with-node-client/51239 "2016-05-29T05:26:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Anand\_Chandak](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Anand\_Chandak](https://discuss.elastic.co/u/Anand_Chandak)
#### Post date: [May 29, 2016, 5:26am UTC](https://discuss.elastic.co/t/elasticsearch-shield-plugin-with-node-client/51239/1 "2016-05-29T05:26:58Z")

</div>

Hi, Can somebody please tell us if elastic- search shield plugin can work with node client ? If so, can somebody please provide us with some pointers

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 29, 2016, 5:38am UTC](https://discuss.elastic.co/t/elasticsearch-shield-plugin-with-node-client/51239/2 "2016-05-29T05:38:36Z")

</div>

See [https://www.elastic.co/guide/en/shield/current/\_using\_elasticsearch\_java\_clients\_with\_shield.html](https://www.elastic.co/guide/en/shield/current/_using_elasticsearch_java_clients_with_shield.html)

---

<div class="post-metadata">

### Author: ![Anand\_Chandak](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Anand\_Chandak](https://discuss.elastic.co/u/Anand_Chandak)
#### Post date: [May 29, 2016, 5:51am UTC](https://discuss.elastic.co/t/elasticsearch-shield-plugin-with-node-client/51239/3 "2016-05-29T05:51:24Z")

</div>

Thanks warkolm, any security plugin that can work with node client ?

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [May 29, 2016, 7:34am UTC](https://discuss.elastic.co/t/elasticsearch-shield-plugin-with-node-client/51239/4 "2016-05-29T07:34:42Z")

</div>

I would read this: [https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/client-connected-to-client-node.html](https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/client-connected-to-client-node.html)

We don't recommend using NodeClient.  
Also be aware that in 5.0 we will provide a REST java Client.

---

<div class="post-metadata">

### Author: ![Anand\_Chandak](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Anand\_Chandak](https://discuss.elastic.co/u/Anand_Chandak)
#### Post date: [March 27, 2017, 3:52am UTC](https://discuss.elastic.co/t/elasticsearch-shield-plugin-with-node-client/51239/5 "2017-03-27T03:52:39Z")

</div>

does that mean with the java REST client we don't shield plugin ?

---

<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 6, 2017, 1:41pm UTC](https://discuss.elastic.co/t/elasticsearch-shield-plugin-with-node-client/51239/6 "2017-07-06T13:41:16Z")

</div>


