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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bhalicki
Helper V
Helper V

Securely storing API authentication credentials

Hi,

I have a dashboard which connects to an external API (via HTTPS).  It implements JWT (connect via username/password, retrieves a token, then uses the token for all subsequent requests). 

What is the recommended approach for securely storing API credentials (username/password), once a PBIX is published to the service?

Thanks,

Ben.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @bhalicki ,

Please try to store the secret on the gateway machine and configure access to that speratly.

Here is a similar case you could refer to:Solved: Re: How to securely store and use token and secret... - Microsoft Fabric Community, I hope it will help you.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @bhalicki ,

Please try to store the secret on the gateway machine and configure access to that speratly.

Here is a similar case you could refer to:Solved: Re: How to securely store and use token and secret... - Microsoft Fabric Community, I hope it will help you.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.