Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Power Query for API call - keys

We built a Power Query command in order to retrieve files from DropBox, the Power Query will be used for Power BI and MS Excel as well, my only concern is that in the command we need to pass keys in order to make a succesfull API call, what is the best practice in order to pass the keys for the command? 

 

I would not use parameters, since it can be read by end-users and would avoid hard-coding as well. What can be the solution for this?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

While we are waiting for Azure KeyVault support you can place your credentials on a sharepoint (in a text file in a secured folder)  and then treat that file as a data source during the Power Query ETL.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

While we are waiting for Azure KeyVault support you can place your credentials on a sharepoint (in a text file in a secured folder)  and then treat that file as a data source during the Power Query ETL.

Anonymous
Not applicable

Hi @lbendlin

First of all thank you, is it something (KeyVault support) which has been announced by Microsoft? They are planning to have it?

What's new and planned for Power BI in Microsoft Fabric - Microsoft Fabric | Microsoft Learn

It is already available in Power Automate.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors