# Can we use different service account in a pod

**URL:** <https://discuss.kubernetes.io/t/can-we-use-different-service-account-in-a-pod/28200>\
**Category:** General Discussions\
**Tags:** development, minikube\
**Created:** [May 10, 2024, 2:41pm UTC](https://discuss.kubernetes.io/t/can-we-use-different-service-account-in-a-pod/28200 "2024-05-10T14:41:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rohit\_Rajendran](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/rohit_rajendran/32/14950_2.png) [@Rohit\_Rajendran](https://discuss.kubernetes.io/u/Rohit_Rajendran)\
**Post date:** [May 10, 2024, 2:41pm UTC](https://discuss.kubernetes.io/t/can-we-use-different-service-account-in-a-pod/28200/1 "2024-05-10T14:41:33Z")

</div>

Can I have different service accounts in one pod? I need one service account for the init container and another for the main container.

---

<div class="post-metadata">

**Author:** ![thockin](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/thockin/32/2457_2.png) [@thockin](https://discuss.kubernetes.io/u/thockin)\
**Post date:** [May 10, 2024, 3:31pm UTC](https://discuss.kubernetes.io/t/can-we-use-different-service-account-in-a-pod/28200/2 "2024-05-10T15:31:24Z")

</div>

No, that’s not how service-accounts work. Sorry.
