cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Accessing a credential vault in a workflow without coding, using a custom Header field

jegron
DynaMight Champion
DynaMight Champion

Hi,

Is there a way to access the vault without writing code, using only header configuration—such as through authentication fields?

jegron_0-1752672230039.png

My header need to be "MyKey: my_token"

jegron_1-1752672240634.png

Thanks!

Observability Engineer at Phenisys - Dynatrace Professional
6 REPLIES 6

p_devulapalli
Leader

@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

p_devulapalli_0-1752811925176.png

https://docs.dynatrace.com/docs/shortlink/workflows-action-http-request#input

 

Phani Devulapalli

Hi @jegron 

@p_devulapalli way is the right way to do that just make sure that credential scope is mark for use of AppEngine 

Yosi_Neuman_0-1752916550641.png

And it will show app under the pull down 

Yosi_Neuman_1-1752916589438.png

HTH

Yos 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

jegron
DynaMight Champion
DynaMight Champion

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

Observability Engineer at Phenisys - Dynatrace Professional

Hi @jegron 

Did you tried to change the prefix to your string?

Yosi_Neuman_0-1753106821329.png

Yos 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

jegron
DynaMight Champion
DynaMight Champion

Yes, but the result is Authorization: MyID "You Token Credential".

And I would like MyID: "You Token Credential" 😞

Observability Engineer at Phenisys - Dynatrace Professional

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 

Maheedhar

Featured Posts