# Is there a way to insert certificates contents as env vars instead of file paths?

**URL:** <https://community.temporal.io/t/is-there-a-way-to-insert-certificates-contents-as-env-vars-instead-of-file-paths/6888>\
**Category:** Community Support\
**Created:** [January 10, 2023, 4:22pm UTC](https://community.temporal.io/t/is-there-a-way-to-insert-certificates-contents-as-env-vars-instead-of-file-paths/6888 "2023-01-10T16:22:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichRM](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/richrm/32/3640_2.png) [@RichRM](https://community.temporal.io/u/RichRM)\
**Post date:** [January 10, 2023, 4:22pm UTC](https://community.temporal.io/t/is-there-a-way-to-insert-certificates-contents-as-env-vars-instead-of-file-paths/6888/1 "2023-01-10T16:22:11Z")

</div>

i.e. can I make `TEMPORAL_TLS_CA` etc, the _contents_ of the certificate, instead of a string for the path to the file?

I don’t think there is, but figured it’s worth an ask!

---

<div class="post-metadata">

**Author:** ![antonio.perez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/antonio.perez/32/2417_2.png) [@antonio.perez](https://community.temporal.io/u/antonio.perez)\
**Post date:** [January 10, 2023, 4:25pm UTC](https://community.temporal.io/t/is-there-a-way-to-insert-certificates-contents-as-env-vars-instead-of-file-paths/6888/2 "2023-01-10T16:25:58Z")

</div>

Hello @RichRM

I think you can use `TEMPORAL_TLS_CA_DATA` , see [Temporal Web UI environmental variables | Temporal Documentation](https://docs.temporal.io/references/web-ui-environment-variables#temporal_tls_ca_data)

---

<div class="post-metadata">

**Author:** ![RichRM](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/richrm/32/3640_2.png) [@RichRM](https://community.temporal.io/u/RichRM)\
**Post date:** [January 10, 2023, 4:45pm UTC](https://community.temporal.io/t/is-there-a-way-to-insert-certificates-contents-as-env-vars-instead-of-file-paths/6888/3 "2023-01-10T16:45:11Z")

</div>

Oh, interesting! Do you know if that’s just for the web UI, or if all components/services can use these vars? Looks like probably not, from a quick scan of the repos

---

<div class="post-metadata">

**Author:** ![antonio.perez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/antonio.perez/32/2417_2.png) [@antonio.perez](https://community.temporal.io/u/antonio.perez)\
**Post date:** [January 10, 2023, 5:34pm UTC](https://community.temporal.io/t/is-there-a-way-to-insert-certificates-contents-as-env-vars-instead-of-file-paths/6888/4 "2023-01-10T17:34:53Z")

</div>

@RichRM yes, this is just for the UI from what I have seen.

Please file an issue in the repository [Issues · temporalio/temporal · GitHub](https://github.com/temporalio/temporal/issues)
