# Is there any doc or example on using kubernetes-operator for Opaque type secrets

**URL:** <https://community.doppler.com/t/is-there-any-doc-or-example-on-using-kubernetes-operator-for-opaque-type-secrets/292>\
**Category:** Need Help\
**Created:** [August 17, 2021, 9:06pm UTC](https://community.doppler.com/t/is-there-any-doc-or-example-on-using-kubernetes-operator-for-opaque-type-secrets/292 "2021-08-17T21:06:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![naga](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@naga](https://community.doppler.com/u/naga)\
**Post date:** [August 17, 2021, 9:06pm UTC](https://community.doppler.com/t/is-there-any-doc-or-example-on-using-kubernetes-operator-for-opaque-type-secrets/292/1 "2021-08-17T21:06:47Z")

</div>

Hi,  
I am trying to use [https://github.com/DopplerHQ/kubernetes-operator](https://github.com/DopplerHQ/kubernetes-operator) for Opaque type of secrets, Can you please share if there is any doc with example on how i can use it

let’s say here is my secret where i want to use with doppler. I want to use doppler for password key

![image](https://us1.discourse-cdn.com/flex016/uploads/doppler/original/1X/fb78cffe30732b05e1392315d2388bb11a3185a3.png)

---

<div class="post-metadata">

**Author:** ![ryan-blunden](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/ryan-blunden/32/9_2.png) [@ryan-blunden](https://community.doppler.com/u/ryan-blunden)\
**Post date:** [August 17, 2021, 9:22pm UTC](https://community.doppler.com/t/is-there-any-doc-or-example-on-using-kubernetes-operator-for-opaque-type-secrets/292/2 "2021-08-17T21:22:26Z")

</div>

Hi @naga,

The Operator does use Opaque secrets but uses `data` instead of `stringData`, the only difference being that `data` requires the values to be base64 encoded.

That however is an implementation detail that only the Operator should care about, as it will be creating the Secrets for you.

The other difference between our Operator and your example is that the keys in the secret match the names in Doppler, meaning they will be UPPER\_SNAKE\_CASE, and not lowercase.

Does that answer your question?
