# Filebeat version that refreshes service account kubernetes tokens

**URL:** <https://discuss.elastic.co/t/filebeat-version-that-refreshes-service-account-kubernetes-tokens/314489>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 15, 2022, 9:36am UTC](https://discuss.elastic.co/t/filebeat-version-that-refreshes-service-account-kubernetes-tokens/314489 "2022-09-15T09:36:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dedimitr](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@dedimitr](https://discuss.elastic.co/u/dedimitr)\
**Post date:** [September 15, 2022, 9:36am UTC](https://discuss.elastic.co/t/filebeat-version-that-refreshes-service-account-kubernetes-tokens/314489/1 "2022-09-15T09:36:37Z")

</div>

Using filebeat version 6.6.2. I went through the docs but I just can't figure out **to which version should I update, so that it starts refreshing kubernetes service account tokens**?

'Service account tokens have an expiration of one hour. In earlier Kubernetes versions (prior to 1.21), the tokens didn't have an expiration. This means that clients that rely on these tokens must refresh the tokens within an hour.' ([source](https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html))

---

<div class="post-metadata">

**Author:** ![linya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/linya/32/87447_2.png) [@linya](https://discuss.elastic.co/u/linya)\
**Post date:** [October 13, 2022, 4:45am UTC](https://discuss.elastic.co/t/filebeat-version-that-refreshes-service-account-kubernetes-tokens/314489/2 "2022-10-13T04:45:20Z")

</div>

Looks like \>0.15.7 of the Go client first appears in [version 7.9](https://github.com/elastic/beats/blob/7.9/go.mod).

---

<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:** [November 10, 2022, 6:45am UTC](https://discuss.elastic.co/t/filebeat-version-that-refreshes-service-account-kubernetes-tokens/314489/3 "2022-11-10T06:45:27Z")

</div>

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