# Kubernetes operator token service account

**URL:** <https://community.doppler.com/t/kubernetes-operator-token-service-account/1390>\
**Category:** Need Help\
**Created:** [November 7, 2023, 2:18pm UTC](https://community.doppler.com/t/kubernetes-operator-token-service-account/1390 "2023-11-07T14:18:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_k](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/gabriel_k/32/945_2.png) [@Gabriel\_k](https://community.doppler.com/u/Gabriel_k)\
**Post date:** [November 7, 2023, 2:18pm UTC](https://community.doppler.com/t/kubernetes-operator-token-service-account/1390/1 "2023-11-07T14:18:19Z")

</div>

I’ve been trying to use a token service account (I added all permissions) in doppler-kubernetes-operator to have access to all “dev” variables in all kubernetes projects without success.  
When using secret token it works perfectly but only accesses one environment in a single project.  
I tried following the documentation below without success.

> **[Kubernetes Secrets Management: Doppler Operator](https://docs.doppler.com/docs/kubernetes-operator)**
>
> Automatically sync secrets from Doppler to Kubernetes and auto-reload deployments when secrets change.

Best Regards

---

<div class="post-metadata">

**Author:** ![watsonian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/watsonian/32/267_2.png) [@watsonian](https://community.doppler.com/u/watsonian)\
**Post date:** [November 7, 2023, 3:17pm UTC](https://community.doppler.com/t/kubernetes-operator-token-service-account/1390/2 "2023-11-07T15:17:41Z")

</div>

Hi @Gabriel_k!

Welcome to the Doppler Community!

Would you mind sharing some of your `DopplerSecret` CRDs so I can take a look at them? Could you also describe one of your `DopplerSecret`s in kubernetes and send me the output (specifically, the status section toward the bottom)?

Thanks!  
-Joel

---

<div class="post-metadata">

**Author:** ![Gabriel\_k](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/gabriel_k/32/945_2.png) [@Gabriel\_k](https://community.doppler.com/u/Gabriel_k)\
**Post date:** [November 10, 2023, 3:50pm UTC](https://community.doppler.com/t/kubernetes-operator-token-service-account/1390/3 "2023-11-10T15:50:10Z")

</div>

Hi Joel!  
I think I identify the problem, I was testing with several service accounts and customized some fields to organize myself. When I implemented the service account token and it worked, I understood that I cannot change the ----from-literal=serviceToken parameter. (I had changed it to --from-literal=serviceAccount ). Sorry 🙂  
Thank you very much for your attention.
