# Auth0 Custom Domain Which Values Are Secrets

**URL:** <https://community.auth0.com/t/auth0-custom-domain-which-values-are-secrets/121266>\
**Category:** Get Help\
**Tags:** custom-domains-flows, branding\
**Created:** [November 20, 2023, 3:28pm UTC](https://community.auth0.com/t/auth0-custom-domain-which-values-are-secrets/121266 "2023-11-20T15:28:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kieran.Hegarty](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Kieran.Hegarty](https://community.auth0.com/u/Kieran.Hegarty)\
**Post date:** [November 20, 2023, 3:28pm UTC](https://community.auth0.com/t/auth0-custom-domain-which-values-are-secrets/121266/1 "2023-11-20T15:28:47Z")

</div>

I’ve started using Custom Domains, which I have exported to the tenant.yaml file so I can see which values are required to deploy the Custom Domains. My question is this

1. Why do I need to make a copy of the cname-api-key [value](https://auth0.com/docs/customize/custom-domains/self-managed-certificates#step-2-verify-ownership) ?
2. Of the following, which need to be stored as secrets:

- TXT RECORD
- TXT CONTENT
- origin\_domain\_name

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 28, 2023, 3:15pm UTC](https://community.auth0.com/t/auth0-custom-domain-which-values-are-secrets/121266/3 "2023-11-28T15:15:37Z")

</div>

Hi @Kieran.Hegarty.

Welcome to the Auth0 Community!

The cname-api-key is used as when configuring [A Reverse Proxy](https://auth0.com/docs/customize/custom-domains/self-managed-certificates#configure-reverse-proxy). This is a secret.

The TXT values and the domain name (assuming these are the values you are getting from the dashboard _Custom Domain_ setting page) are public DNS records. You can read more here: [https://www.cloudflare.com/learning/dns/dns-records/dns-txt-record/](https://www.cloudflare.com/learning/dns/dns-records/dns-txt-record/).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 12, 2023, 3:16pm UTC](https://community.auth0.com/t/auth0-custom-domain-which-values-are-secrets/121266/4 "2023-12-12T15:16:16Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
