Forum Discussion
Encrypting pbiPassword in PowerBIEmbedded_AppOwnsData
Hopefully the subject line says it all.
Once upon a time I did a ton of work in .NET.....a LONG time ago 🙂
Really dumb question - how could I encrypt the password and username in the Web.cofig file?
Thanks
<MasterUser>
<!-- Note: Do NOT leave your credentials on code. Save them in secure place. -->
<add key="pbiUsername" value="[email protected]" />
<add key="pbiPassword" value="abcdefghijk" />
</MasterUser>
1 Reply
- AnonymousNot applicable
Hi KevinSGoff ,
Please refer to the following link.
asp.net - How to encrypt username and password in Web.config in C# 2.0 - Stack Overflow
How to Encrypt Password in web.config files – MSDigest.net
If this does not help you, I suggest you go to the developer section of Power BI Community to open a new post.
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.