microsoft / promptflow

Build high-quality LLM apps - from prototyping, testing to production deployment and monitoring.
https://microsoft.github.io/promptflow/
MIT License
9.49k stars 869 forks source link

[Feature Request] Hiding Sensitive Inputs #3410

Open jamesburns-rts opened 5 months ago

jamesburns-rts commented 5 months ago

I would like to be able to pass sensitive parameters into the flow in a way they are not included in logging or tracing. Is this already possible?

My setup and situation

Possible solutions

Alternatives I've considered

0mza987 commented 5 months ago

It's rare and generally not recommentded to pass secrects as inputs in the request. Prompt flow does not have short-term plan to support this feature ask.

Please consider the workaround to encode the jwt first and decode inside the flow when you need to call the external API.

sofyanajridi commented 3 weeks ago

Is there no current temporary workaround that can be used for reading the header instead of passing sensitive data as an input? To my understanding promptflow is served as a Flask app so we should be able to read it?