# Custom authorization (headers) without using pre-request (for security/safety)

**URL:** <https://community.postman.com/t/custom-authorization-headers-without-using-pre-request-for-security-safety/83464>\
**Category:** Help Hub\
**Tags:** authorization, collections, authentication, headers\
**Created:** [August 11, 2025, 12:48pm UTC](https://community.postman.com/t/custom-authorization-headers-without-using-pre-request-for-security-safety/83464 "2025-08-11T12:48:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aa06687](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@aa06687](https://community.postman.com/u/aa06687)\
**Post date:** [August 11, 2025, 12:48pm UTC](https://community.postman.com/t/custom-authorization-headers-without-using-pre-request-for-security-safety/83464/1 "2025-08-11T12:48:29Z")

</div>

When I have a test set (folder), I can define “Authorization” on the folder-level. The options in the list are a whole bunch, of which among “AWS signature”, which looks the most similar to what I need. Here I can fill in a (vault) value for the “AccessKey” header and “SecretKey” header. My API, however, requires custom headers for the (access/)id and secret. This option, however, is not in the list. I could use the pre-request, enable pre- and post-scripts from the vault and add the desired headers form there, but that is a potential security issue, with potential libraries potentially snooping my vault secrets. Could Postman please consider allowing a custom header type, where I can define the header name and header value (with vault values, where desired)?

---

<div class="post-metadata">

**Author:** ![sterlingchin](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sterlingchin/32/31421_2.png) [@sterlingchin](https://community.postman.com/u/sterlingchin)\
**Post date:** [August 15, 2025, 6:03am UTC](https://community.postman.com/t/custom-authorization-headers-without-using-pre-request-for-security-safety/83464/2 "2025-08-15T06:03:46Z")

</div>

This is a great security-conscious question! There is an approach you could take without using pre-request scripts:

Add your custom authorization headers directly in the **Headers** tab at the folder level:

```bash
X-API-ID: {{vault:your-access-key}}
X-API-Secret: {{vault:your-secret-key}}

```
