# Key value vault in HTTP synthetic Monitor

**URL:** <https://community.dynatrace.com/t/key-value-vault-in-http-synthetic-monitor/36172>\
**Category:** Synthetic Monitoring\
**Tags:** http-monitor, synthetic-monitoring\
**Created:** [August 9, 2022, 3:29pm UTC](https://community.dynatrace.com/t/key-value-vault-in-http-synthetic-monitor/36172 "2022-08-09T15:29:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smuthu](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@smuthu](https://community.dynatrace.com/u/smuthu)\
**Post date:** [August 9, 2022, 3:29pm UTC](https://community.dynatrace.com/t/key-value-vault-in-http-synthetic-monitor/36172/1 "2022-08-09T15:29:31Z")

</div>

It will be good if we have a provision in Dynatrace synthetic monitoring to store key values in the vault and refer it in HTTP Monitor. for example client\_id and secret header.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [August 22, 2022, 3:13pm UTC](https://community.dynatrace.com/t/key-value-vault-in-http-synthetic-monitor/36172/2 "2022-08-22T15:13:51Z")

</div>

Does the username and password pair in the credentials vault do what you want? This would keep the client\_id and secret header together in a single vault entry and you could then refer to each one using the relevant credential id and type. ie.

var clientId = api.getCredential(“CREDENTIALS\_VAULT-000000A0A00A0AA0”, “username”);
