There should be a secure way to pass secrets or keys when making an API call (e.g. web.contents) in Power Query M.
Suggestions:
A) Make it possible to enter and edit secrets in Power Query, similar to how we enter and edit data source credentials in Power Query. Make these secrets encrypted and redacted. The secrets should be available to use as variables in the M code. When entering a secret, we would give it a name, which we can reference as a variable in the M code. We would only see the name, but the value would not be visible (the value would be redacted).
B) Make an Azure Key Vault connector for Power Query, that will make it possible to fetch secrets from AKV and assign the secret to a variable in the M query. This variable can be passed as part of the header in an API call.
C) Make it possible to redact some variables in M, so that we can use secret variables without the value being visible in the Power Query user interface.
The main point is that we want a way to use secured and hidden secrets as part of API calls in Power Query.
2 Comments
- miguelCommunity AdminStatus changed:NewtoNeeds Votes
- frithjof_vCommunity ChampionThe suggestions (A, B, C) don't need to be implemented together. They can be implemented separately. If A) gets implemented, there will perhaps not be a need for B). The main Idea is to make it possible to include secured and hidden secrets in cases where the regular Data Source Credentials don't apply, e.g. in the web.contents connector.
Recent ideas
Power BI UX Suggestion: Preserve Selection When Switching Between Report and Model Views
When developing a Power BI report, if I select a visual in Report View and then switch to Model View, the selected table/column context is lost and everything becomes unselected. This can be inconv...Murtaza_Ghafoor12 hours agoSuper UserNew14Views0likes0CommentsPower BI UX Suggestion: Preserve Selection When Switching Between Report and Model Views
When developing a Power BI report, if I select a visual in Report View and then switch to Model View, the selected table/column context is lost and everything becomes unselected. This can be inconv...Murtaza_Ghafoor12 hours agoSuper UserNew14Views0likes0CommentsDefault Scrollable Time-Series Charts to Most Recent Data
Currently, Power BI time-series charts always open scrolled to the earliest (leftmost) date by default, which is inconvenient for reports where users are interested in the most recent (rightmost) dat...CStillwell14 hours agoNew MemberNew9Views0likes0CommentsPower BI Desktop Data Load: Can We Get Better Progress Visibility?
One UX improvement I’d really like to see in Power BI Desktop is better visibility when loading large datasets from Power Query. Currently, when Power Query finishes processing and the data starts l...salmansaifee7715 hours agoRegular VisitorNew22Views1like0Comments