# Secret Value Validations

**URL:** <https://community.doppler.com/t/secret-value-validations/128>\
**Category:** Feature Requests\
**Created:** [March 7, 2021, 1:12pm UTC](https://community.doppler.com/t/secret-value-validations/128 "2021-03-07T13:12:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://community.doppler.com/u/John)\
**Post date:** [March 7, 2021, 1:12pm UTC](https://community.doppler.com/t/secret-value-validations/128/1 "2021-03-07T13:12:35Z")

</div>

Hi,  
It would really nice if I could set a Validation for a Secret Value myself, I’m thinking it could be either regex or types like string, int, date and so on…

Thanks Upfront,  
John.

---

<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:** [March 8, 2021, 2:46am UTC](https://community.doppler.com/t/secret-value-validations/128/2 "2021-03-08T02:46:42Z")

</div>

Thanks for the feedback John and welcome to the Doppler community!

This is a really interesting idea and something we’re looking at exploring in the future.

How are you addressing this need currently and what language/framework are you using?

---

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://community.doppler.com/u/John)\
**Post date:** [March 8, 2021, 9:19am UTC](https://community.doppler.com/t/secret-value-validations/128/3 "2021-03-08T09:19:45Z")

</div>

Hi thanks for the response,  
Right now I just update the keys and hope for the best :).  
But to add another layer of validation would be great.

I’m working with NodeJs mostly.  
Services running on K8S.

---

<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:** [March 8, 2021, 10:55pm UTC](https://community.doppler.com/t/secret-value-validations/128/4 "2021-03-08T22:55:05Z")

</div>

Thanks for the extra info John!

---

<div class="post-metadata">

**Author:** ![James\_Heimbuck](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/james_heimbuck/32/978_2.png) [@James\_Heimbuck](https://community.doppler.com/u/James_Heimbuck)\
**Post date:** [April 30, 2024, 6:57pm UTC](https://community.doppler.com/t/secret-value-validations/128/5 "2024-04-30T18:57:16Z")

</div>

@John

Value Types was [launched](https://community.doppler.com/t/introducing-value-types/1521) today which should solve this for some cases like JSON, email, strings, etc. that you’re storing in Doppler.

-James Heimbuck, Principal Product Manager

---

<div class="post-metadata">

**Author:** ![James\_Heimbuck](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/james_heimbuck/32/978_2.png) [@James\_Heimbuck](https://community.doppler.com/u/James_Heimbuck)\
**Post date:** [June 18, 2024, 9:27pm UTC](https://community.doppler.com/t/secret-value-validations/128/6 "2024-06-18T21:27:36Z")

</div>

One more update on this. We’ve iterated on Value Types with the following improvements:

- Faster validation without having to click the Save button on the Dashboard
- The CLI supports displaying and setting Secret Value Types starting in version 3.69.0
- New types XML and Direct Reference

-James Heimbuck, Principal Product Manager
