You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current benthos Streams API provide a good way to dynamically create and manage the streams. However, when reading an existing stream config via GET /streams/{id}endpoint, it would be better to mask all the credential fields or at least provide an option to mask them.
For example, currently when getting a stream with azure_cosmosdb as input, the response is like this:
@ye11ow , I have a similar query regarding masking the secrets. I am trying to POST a config generated to benthos streams but I would prefer to send it via an https call instead of http using cert and key file fields in http_server input
Hey @ye11ow, it's unintentional and probably because when the mechanism for extracting the source config as a structured value changed there was a blanket refactor. I believe there are accessible APIs for re-doing the sanitation on that data that we need to re-introduce, it'll look slightly different to the old code but functionally will be the same.
The current benthos Streams API provide a good way to dynamically create and manage the streams. However, when reading an existing stream config via GET
/streams/{id}
endpoint, it would be better to mask all the credential fields or at least provide an option to mask them.For example, currently when getting a stream with
azure_cosmosdb
as input, the response is like this:Expected response would be:
Both
account_key
andconnection_string
should be masked because they are marked as secret fields in the input definations.The text was updated successfully, but these errors were encountered: