# Metricbeat authentication

**URL:** <https://discuss.elastic.co/t/metricbeat-authentication/228055>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 15, 2020, 8:07am UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055 "2020-04-15T08:07:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranjan300](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ranjan300](https://discuss.elastic.co/u/ranjan300)\
**Post date:** [April 15, 2020, 8:07am UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055/1 "2020-04-15T08:07:58Z")

</div>

is it possible to use aws iam roles instead of aws credentials (access key and secret key) for authentication. Can anyone please help me.

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [April 15, 2020, 1:55pm UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055/2 "2020-04-15T13:55:57Z")

</div>

Please take a look at this PR: [https://github.com/elastic/beats/pull/17658](https://github.com/elastic/beats/pull/17658)

Keep in mind that it has been just merged.

---

<div class="post-metadata">

**Author:** ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)\
**Post date:** [April 15, 2020, 2:06pm UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055/3 "2020-04-15T14:06:25Z")

</div>

@ranjan300 Please feel free to let me know what you think! Thank you!

---

<div class="post-metadata">

**Author:** ![ranjan300](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ranjan300](https://discuss.elastic.co/u/ranjan300)\
**Post date:** [April 16, 2020, 1:38pm UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055/4 "2020-04-16T13:38:55Z")

</div>

Thanks @mtojek, for the info.

---

<div class="post-metadata">

**Author:** ![ranjan300](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ranjan300](https://discuss.elastic.co/u/ranjan300)\
**Post date:** [April 16, 2020, 1:40pm UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055/5 "2020-04-16T13:40:15Z")

</div>

Thanks @Kaiyan_Sheng, for the info. I was wondering whether we can use role\_arn or not. But it seems, we can.

Thanks a lot for the info.

---

<div class="post-metadata">

**Author:** ![ranjan300](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ranjan300](https://discuss.elastic.co/u/ranjan300)\
**Post date:** [May 8, 2020, 2:28pm UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055/6 "2020-05-08T14:28:08Z")

</div>

Hi @Kaiyan_Sheng,

Is it possible to use Metricbeat with open distro elastic with aws modules instead of xpack.

---

<div class="post-metadata">

**Author:** ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)\
**Post date:** [May 8, 2020, 5:41pm UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055/7 "2020-05-08T17:41:05Z")

</div>

@ranjan300 I don't think so. x-pack requires at least basic license or trail.

---

<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:** [June 5, 2020, 5:41pm UTC](https://discuss.elastic.co/t/metricbeat-authentication/228055/8 "2020-06-05T17:41:05Z")

</div>

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