Support for $SECRET in pipes
CompletedI see that $ENV is supported in pipes, but it seems like $SECRET doesn't work, is that correct?
The context is sending an specific api key in a header for a specific GET/POST operation. That kind of value fits more into a $SECRET than to an $ENV, but must be configured in the pipe.
-
The example above would look something like this:
"sink": {
"type": "json",
"system": "any-http-system",
"headers": {
"X-API-Key-For-Method": "$SECRET(my-service-method-key)"
},
"url": "/ServiceMethodProtectedByKey"
},Without the $SECRET support, I will need to duplicate the number of systems to equal the number of methods. I consider this particular pattern an edge case, but cannot see the reason for the constraint. If it cannot be added, at least update the documentation with where $SECRET can (and cannot) be used.
Please sign in to leave a comment.
Comments
4 comments