16 Jul 2025
02:33 PM
- last edited on
23 Jul 2025
01:25 PM
by
AgataWlodarczyk
Hi,
Is there a way to access the vault without writing code, using only header configuration—such as through authentication fields?
My header need to be "MyKey: my_token"
Thanks!
18 Jul 2025 05:14 AM
@jegron You can choose the credential from the vault in Authentication if that is what you are looking for. The credential should show up in the drop down if you have it in the vault
https://docs.dynatrace.com/docs/shortlink/workflows-action-http-request#input
19 Jul 2025 10:17 AM - edited 19 Jul 2025 10:19 AM
Hi @jegron
@p_devulapalli way is the right way to do that just make sure that credential scope is mark for use of AppEngine
And it will show app under the pull down
HTH
Yos
21 Jul 2025 08:00 AM
Hi,
Thanks for your help, but I need to use a custom header with our credentials. In the Authentication section, you need to use Authentication:
I need to use an other string like MyID:
Julien
21 Jul 2025 03:07 PM
Hi @jegron
Did you tried to change the prefix to your string?
Yos
23 Jul 2025 08:44 AM
Yes, but the result is Authorization: MyID "You Token Credential".
And I would like MyID: "You Token Credential" 😞
23 Jul 2025 12:45 PM
Hi @jegron ,
I don't think it's possible to access from the HTTP step directly. We need to use "Run Javascript" in this case. HTTP method will only support standard headers so the answer is "No, unfortunately we can't do it directly without coding"
Regards,
@Maheedhar_T