# Can we use workload Identity for leasticsearch backup and restore

**URL:** <https://discuss.elastic.co/t/can-we-use-workload-identity-for-leasticsearch-backup-and-restore/247232>\
**Category:** Elasticsearch\
**Created:** [September 2, 2020, 12:51pm UTC](https://discuss.elastic.co/t/can-we-use-workload-identity-for-leasticsearch-backup-and-restore/247232 "2020-09-02T12:51:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![knagasri](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@knagasri](https://discuss.elastic.co/u/knagasri)\
**Post date:** [September 2, 2020, 12:51pm UTC](https://discuss.elastic.co/t/can-we-use-workload-identity-for-leasticsearch-backup-and-restore/247232/1 "2020-09-02T12:51:25Z")

</div>

Can we use workload Identity instead of creating k8s secrets manually for easticsearch backup and restore for elasticsearch 7.4

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 2, 2020, 10:19pm UTC](https://discuss.elastic.co/t/can-we-use-workload-identity-for-leasticsearch-backup-and-restore/247232/2 "2020-09-02T22:19:26Z")

</div>

What's workload identity?

---

<div class="post-metadata">

**Author:** ![knagasri](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@knagasri](https://discuss.elastic.co/u/knagasri)\
**Post date:** [September 3, 2020, 6:33am UTC](https://discuss.elastic.co/t/can-we-use-workload-identity-for-leasticsearch-backup-and-restore/247232/3 "2020-09-03T06:33:54Z")

</div>

GKE Workload identity allows us to attach the service account to the Kubernetes pod and remove the hassle to manage the service account credentials JSON file within the pod or cluster. As we are using credentials file and keeping k8s secret. Instead of using that, can we use workload identity ?

---

<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 1, 2020, 6:34am UTC](https://discuss.elastic.co/t/can-we-use-workload-identity-for-leasticsearch-backup-and-restore/247232/4 "2020-10-01T06:34:16Z")

</div>

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