India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Microsoft AzureNon-profit (child education NGO)Education

Child-education NGO removes deploy secrets and gates agency code on donor platform

NGO with 1.4 lakh individual donors, a donation portal and a volunteer app · Azure Central India (Pune) · 7 weeks

Amazon Web Services
01

As-is situation

The NGO's donation portal, donor CRM integrations and 80G receipt generation, which handles donor PAN numbers, were built by a digital agency and a three-person internal team. Code lived in GitHub, deployed by GitHub Actions to App Service and Azure Functions using a service principal secret with Contributor on the whole subscription, stored as a repository secret readable by all agency staff. No code or dependency scanning existed. A volunteer found an outdated payment SDK with a known vulnerability, and a large corporate CSR donor asked for evidence of secure development before renewing a multi-year grant.

  • Contributor-level service principal secret shared with all agency developers
  • No scanning on 14 repositories including the donation and receipt services
  • CSR donor grant renewal conditional on secure development evidence
02

Approach, tools and architecture

NTSPL replaced the service principal secret with workload identity federation from GitHub Actions to Entra ID, using separate identities for staging and production, each scoped to its own resource group. Production deployments required approval from an internal reviewer through GitHub environments. The NGO enabled GitHub Code Security with CodeQL and Dependabot, and GitHub Secret Protection with push protection, on its repositories. Bicep templates were checked with PSRule for Azure. Defender for Cloud DevOps security connected the GitHub organisation so findings appeared beside cloud posture. Branch protection required review on all agency pull requests.

Agency PR → CodeQL + Dependabot + push protection + PSRule → internal review → GitHub Actions OIDC → Entra workload identity (per environment) → App Service / Functions
GitHub Actions with OIDCMicrosoft Entra workload identity federationGitHub Code Security (CodeQL, Dependabot)GitHub Secret ProtectionPSRule for AzureDefender for Cloud DevOps security
03

Implementation approach

Weeks 1-2 · Identity fixThe shared secret was revoked and OIDC federation went live for both environments.
Weeks 3-4 · ScanningCodeQL, Dependabot and push protection were enabled and the payment SDK upgraded.
Weeks 5-6 · Gates and reviewsBranch protection, environment approvals and PSRule checks were enforced for the agency.
Week 7 · Evidence packA secure development summary with pipeline evidence was prepared for the CSR donor.
04

Measured results

Stored cloud credentials in GitHub
1 subscription-wide secret→0
Repositories with code and dependency scanning
0 of 14→14 of 14
Open critical and high dependency alerts
57→4
Production deployments without internal review
All→None

Operational improvements

  • Agency developers can no longer deploy to production without NGO approval
  • Push protection blocked three secrets in the first two months
05

Cost considerations

GitHub Code Security and Secret Protection are licensed per active committer, about ten here, costing roughly INR 40,000 a month; Defender for Cloud's foundational DevOps security features carry no extra charge. NTSPL delivered the engagement for INR 5.5 lakh, scoped for a small team.

06

Return on investment

ROI indicator

The CSR donor renewed a three-year grant worth about INR 3 crore after reviewing the evidence. Removing an agency-wide Contributor secret also closed the most likely path to a breach of donor PAN data, which would carry DPDP obligations and reputational damage.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.