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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Secure the master user credentials

Hi,

I'm using Power BI Embedded for my application and I wonder if there's a way to secure the master user pbiUsername and pbiPassword somewhere other than the Web.config. Or if it must be stored in that file, is it possible to use an encrypted key or something ?

Thanks

1 ACCEPTED SOLUTION
Jayendran
Solution Sage
Solution Sage

Hi @Anonymous ,

 

You can store the user credentials as secrets in the azurekeyvault, which is the recommended best practice. 

 

Reference:

https://docs.microsoft.com/en-us/azure/key-vault/tutorial-net-create-vault-azure-web-app

View solution in original post

1 REPLY 1
Jayendran
Solution Sage
Solution Sage

Hi @Anonymous ,

 

You can store the user credentials as secrets in the azurekeyvault, which is the recommended best practice. 

 

Reference:

https://docs.microsoft.com/en-us/azure/key-vault/tutorial-net-create-vault-azure-web-app

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.