Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi community,
if we want to create a gateway connection to a Redshift db that has rotating credentials, do we have to update them manually every time or there is a way to automate this?
Thanks.
Solved! Go to Solution.
here is the MS Learn page for powershell RESTAPI call, it has some options for encrypting the data passed but requires a lot of work
Gateways - Update Datasource - REST API (Power BI Power BI REST APIs) | Microsoft Learn
here is the MS Learn page for powershell RESTAPI call, it has some options for encrypting the data passed but requires a lot of work
Gateways - Update Datasource - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Here is a good article using powershell - Automated updation of Power BI Data Source Credentials (data4v.com)
Thanks @Anonymous , but that is on the dataset level. I want to update the credentials to the gateway connection.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 17 | |
| 11 | |
| 8 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 47 | |
| 40 | |
| 40 | |
| 26 | |
| 25 |