# Authentication Options for Scroll API Call

**URL:** <https://discuss.elastic.co/t/authentication-options-for-scroll-api-call/294543>\
**Category:** Elasticsearch\
**Created:** [January 17, 2022, 7:58am UTC](https://discuss.elastic.co/t/authentication-options-for-scroll-api-call/294543 "2022-01-17T07:58:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt.Wash](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matt.Wash](https://discuss.elastic.co/u/Matt.Wash)\
**Post date:** [January 17, 2022, 7:58am UTC](https://discuss.elastic.co/t/authentication-options-for-scroll-api-call/294543/1 "2022-01-17T07:58:22Z")

</div>

Hi Elastic Experts, I am hoping you can help me.

I am building Power BI templates for my clients using the Scroll API method where they want to retrieve results in excess of 10,000 records.

I have built the templates using my company's Elasticsearch URL's and APIkeys and it is working perfectly.

However, I don't want to issue these out to my clients where they will be able to refresh my data without authentication.

If I try to change the URL to a fictitious address and swap a character in the key, I am unable to save the template.

Is there a way I can create the template without my clients having access to our dataset?

see below for example of the call.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/9/890f783deeed8ef854d76c49780df915390bdf68.png)

Thanks in advance,  
Matt

---

<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:** [February 14, 2022, 7:59am UTC](https://discuss.elastic.co/t/authentication-options-for-scroll-api-call/294543/2 "2022-02-14T07:59:21Z")

</div>

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