How to supply a secret in the http template? #9369
Answered
by
duizabojul
jackivanov
asked this question in
Q&A
-
https://argoproj.github.io/argo-workflows/http-template/ The endpoint requires basic auth, how do I supply a secret to the template? This is not something documented |
Beta Was this translation helpful? Give feedback.
Answered by
duizabojul
May 18, 2023
Replies: 2 comments 2 replies
-
having the same issue, @jackivanov did you manage to solve it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
According to fields reference, you can do it like this: http:
headers:
- name: Authorization
valueFrom:
secretKeyRef:
key: token
name: my-secret |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jackivanov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to fields reference, you can do it like this: