# Rancher secrets

**URL:** <https://forums.suse.com/t/rancher-secrets/14912>\
**Category:** SUSE Rancher Prime\
**Created:** [July 26, 2019, 7:39pm UTC](https://forums.suse.com/t/rancher-secrets/14912 "2019-07-26T19:39:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smilie](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@smilie](https://forums.suse.com/u/smilie)\
**Post date:** [July 26, 2019, 7:39pm UTC](https://forums.suse.com/t/rancher-secrets/14912/1 "2019-07-26T19:39:01Z")

</div>

Hi guys,  
I followed the guide here:

> **[Secrets](https://rancher.com/docs/rancher/v2.x/en/k8s-in-rancher/secrets/)**

I created a secret, and added it to my workload.  
I even redeployed my workload after doing this, but for some reason, the secrets are not mounted in /run/secrets  
 ![](https://i.imgur.com/UAKJAvg.png)  
 ![](https://i.imgur.com/cIgitfy.png)

Am I missing something? 🤔

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [July 26, 2019, 8:08pm UTC](https://forums.suse.com/t/rancher-secrets/14912/2 "2019-07-26T20:08:09Z")

</div>

That looks to be the section for using a secret as an environment variable value. To make it available as a file you add a volume and tell it where to be mounted.

---

<div class="post-metadata">

**Author:** ![smilie](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@smilie](https://forums.suse.com/u/smilie)\
**Post date:** [July 26, 2019, 8:16pm UTC](https://forums.suse.com/t/rancher-secrets/14912/3 "2019-07-26T20:16:54Z")

</div>

Thanks haha, that didn’t occur to me ^^
