# Possibility to use ApiKeyAuthentication NEST (.NET client) with Elasticsearch APP

**URL:** <https://discuss.elastic.co/t/possibility-to-use-apikeyauthentication-nest-net-client-with-elasticsearch-app/285746>\
**Category:** Elastic Security\
**Tags:** language-clients\
**Created:** [October 2, 2021, 4:47pm UTC](https://discuss.elastic.co/t/possibility-to-use-apikeyauthentication-nest-net-client-with-elasticsearch-app/285746 "2021-10-02T16:47:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flesterh](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@flesterh](https://discuss.elastic.co/u/flesterh)\
**Post date:** [October 2, 2021, 4:47pm UTC](https://discuss.elastic.co/t/possibility-to-use-apikeyauthentication-nest-net-client-with-elasticsearch-app/285746/1 "2021-10-02T16:47:09Z")

</div>

Usecase: Enterpsie Elastic App Search 7.1.\* is used for searchenigine as crawler.  
We want to access data with from our .NET client NEST.  
**2 questions:**  
Can we use the ApiKeyAuthentication within NEST 7.1.15 package as client to access the data?  
How can we check it for valid with Endpoint with "POSTMAN" what to fill in as field key (id or api\_key)?

 ![api-key](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a356712bbf708b78c38ee9693f626096f3c73a70.png)

---

<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 30, 2021, 4:47pm UTC](https://discuss.elastic.co/t/possibility-to-use-apikeyauthentication-nest-net-client-with-elasticsearch-app/285746/2 "2021-10-30T16:47:39Z")

</div>

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