L16.Application, API & Secure Development Lifecycle
Course outlineLesson 16 of 18
Design application security from portfolio risk and threat models through secure development, workload identity, API controls, WAF protection, deployment, and runtime learning.
Triage the application portfolio
Identify business criticality, internet exposure, data sensitivity, technology, owners, dependencies, and current security evidence. Prioritize applications where exposure and impact combine, rather than applying the same review depth everywhere.
Threat model before selecting controls
Map trust boundaries, identities, data flows, entry points, privileged operations, dependencies, and failure modes. Convert threats into requirements that can be implemented and tested. Revisit the model when architecture or business use changes.
Secure the full lifecycle
Standards should cover design review, coding, dependencies, secrets, infrastructure-as-code, testing, artifact integrity, deployment approval, runtime protection, vulnerability response, and retirement. Give developers fast feedback while reserving stronger gates for material risk.
Protect identity and APIs
Use managed or federated workload identities rather than long-lived secrets where possible. API Management can validate Microsoft Entra tokens with validate-azure-ad-token or other JWTs with validate-jwt, apply claim requirements, and enforce rate limits or quotas. Token validation does not by itself prove the caller is authorized for each requested record: enforce object-level authorization in the API backend. Choose policies for the selected gateway and tier. A web application firewall filters supported web threats, but it does not replace secure code, identity controls, or API authorization.
Learn from production
Runtime signals, incidents, penetration tests, and vulnerability findings should update threat models and engineering standards. Ownership continues after deployment.
References
- SC-100 skills outline
- Secure development lifecycle design
- Managed identities for Azure resources - Managed identities for Azure resources
- Azure API Management Policy Reference
- API Management Entra token validation
- API Management JWT validation
- API Management and object-level authorization
Continue Learning
- ✓Prioritize applications using business impact, exposure, data, and evidence
- ✓Threat models turn trust boundaries and threats into testable requirements
- ✓The secure lifecycle covers source through retirement, not only code scanning
- ✓WAF and API gateways complement secure code and authorization rather than replace them
1. Which control most directly eliminates a long-lived application secret used to access Azure resources?