Skip to content

How to supply a secret in the http template? #9369

Answered by duizabojul
jackivanov asked this question in Q&A
Discussion options

You must be logged in to vote

According to fields reference, you can do it like this:

http:
  headers:
    - name: Authorization
      valueFrom:
        secretKeyRef:
          key: token
          name: my-secret

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@GraysonWu
Comment options

@wesleyscholl
Comment options

Answer selected by jackivanov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants