Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Azure Blob Storage account key exposed in source control

(0) ShareShare
ReportReport
Posted on by 67

Description: after configuring a Power Apps portal site (probably the same for Power Pages too) according to the instructions for how to Enable Azure storage, and then configuring Power Pages ALM per the Tutorial on how to use Power Platform CLI with Power Pages, we discovered that our Azure Blob Storage account connection string, which contains the account key, had been inadvertently checked into source control within the file `sitesetting.yml`.

 

What I've tried: I've added the `sitesetting.yml` to our `.gitignore`, but now this file won't get uploaded with the rest of the portal contents.

 

Where I'm stuck: It seems to me that I need to somehow download *just* the `sitesetting.yml` file from the source environment during the deployment pipeline run, but I'm not sure how I can do that. Alternatively, I've seen mention of using a `deployment-profiles` folder, containing a `[env].deployment.yml` file for environment-specific settings, but I'm not sure how I can utilize that during the pipeline run.

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43