# Support of IAM for Elasticsearch Input plugin

**URL:** <https://discuss.elastic.co/t/support-of-iam-for-elasticsearch-input-plugin/323982>\
**Category:** Logstash\
**Created:** [January 26, 2023, 12:55am UTC](https://discuss.elastic.co/t/support-of-iam-for-elasticsearch-input-plugin/323982 "2023-01-26T00:55:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijayalakshmi\_chanum](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijayalakshmi_chanum/32/116414_2.png) [@vijayalakshmi\_chanum](https://discuss.elastic.co/u/vijayalakshmi_chanum)\
**Post date:** [January 26, 2023, 12:55am UTC](https://discuss.elastic.co/t/support-of-iam-for-elasticsearch-input-plugin/323982/1 "2023-01-26T00:55:33Z")

</div>

Do we have support for passing IAM credentials for logstash using Elasticsearch input plugin?

---

<div class="post-metadata">

**Author:** ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)\
**Post date:** [January 26, 2023, 7:49am UTC](https://discuss.elastic.co/t/support-of-iam-for-elasticsearch-input-plugin/323982/2 "2023-01-26T07:49:04Z")

</div>

Hello @vijayalakshmi_chanum , welcome to the community !  
All the Elastic stack components do support IAM credentials (user or role), please refer for example: [Cloudwatch input plugin | Logstash Reference [master] | Elastic](https://www.elastic.co/guide/en/logstash/master/plugins-inputs-cloudwatch.html)  
It's worth checking here as well which is more about ES running on AWS: [Setup a Logstash Server on AWS with IAM Auth to Elasticsearch](https://sysadmins.co.za/setup-a-logstash-server-for-amazon-elasticsearch-service-and-auth-with-iam/)

---

<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 23, 2023, 7:49am UTC](https://discuss.elastic.co/t/support-of-iam-for-elasticsearch-input-plugin/323982/3 "2023-02-23T07:49:33Z")

</div>

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