Secure Open Banking API & DevSecOps: Delivered in 1-2-1 Sessions
One-to-one sessions in which the learner built a secure Open Banking API with FastAPI and wrapped it in a full DevSecOps pipeline, from OAuth2/JWT to SAST, DAST and IaC scanning.
- 70%Hands-on labs
- 30%Talks & demos
- 6Modules
- 1-2-1One-to-one sessions
- 2CI/CD security pipelines
Project built in the sessions
SecureBank Open Banking API
- FastAPI + OAuth2/JWT
- BOLA / IDOR checks
- pytest
- Semgrep SAST
- Trivy scan
- Checkov IaC
- Docker build
- OWASP ZAP DAST
- AWS API Gateway
70% Labs, 30% Talks
Every concept was followed straight away by a lab, so participants left with working code, not just slides.
What participants built in the labs
- Built account and transaction APIs with FastAPI, Pydantic and SQLAlchemy
- Secured them with OAuth2, JWT and object-level authorization
- Wrote pytest tests, including BOLA / IDOR checks
- Containerised the API with Docker and Docker Compose
- Ran two GitHub Actions pipelines: SAST, container and IaC scanning, then DAST with OWASP ZAP
- Defined an AWS API Gateway in Terraform
What the talks covered
- How Open Banking APIs are used in retail and corporate banking
- OWASP API Security risks and why BOLA / IDOR matters
- Shifting security left across the development lifecycle
Session goal: The learner designs, builds, tests, containerises and secures a banking API, and automates security checks across the whole development lifecycle.
Topics Delivered
The modules covered in the 1-2-1 sessions, with the activity for each.
-
01 Talk + demo
Open Banking & API Security Foundations
- Open Banking concepts for retail and corporate banking
- OWASP API Security risks for banking APIs
- Broken Object Level Authorization (BOLA / IDOR) explained
- Reference architecture: client, API Gateway, FastAPI, data
Discussion + threat-model walkthrough
-
02 Hands-on
Build the Banking API with FastAPI
- REST API with FastAPI and OpenAPI / Swagger
- Account and transaction endpoints
- Pydantic input validation
- SQLAlchemy parameterised queries on SQLite
Lab: account and transaction APIs
-
03 Hands-on
Authentication & Authorization
- OAuth2 password flow with JWT
- Password hashing with bcrypt
- Object-level authorization
- BOLA / IDOR protection and tests
Lab: prove one user cannot read another's account
-
04 Hands-on
Testing & Containers
- pytest tests for auth, accounts and transactions
- Dockerfile and Docker Compose
- Secrets via environment variables
- Ubuntu 22.04 setup for the stack
Lab: test suite and Docker Compose stack
-
05 Hands-on
DevSecOps Pipeline with GitHub Actions
- Semgrep static application security testing (SAST)
- Trivy filesystem and container scanning
- Checkov Terraform / IaC scanning
- SARIF results in GitHub code scanning
Lab: security pipeline on a self-hosted runner
-
06 Hands-on
DAST, Integration Testing & AWS
- API integration and authorization tests against the running app
- OWASP ZAP dynamic scanning (DAST)
- Terraform for AWS API Gateway
- Deployment concepts on AWS
Lab: scan the running API and front it with API Gateway
- FastAPI
- OAuth2 & JWT
- BOLA / IDOR
- pytest
- Docker
- GitHub Actions
- Semgrep
- Trivy
- Checkov
- OWASP ZAP
- Terraform
- AWS API Gateway
What the Learner Took Home
Working GitHub repository
The complete SecureBank API with tests, Dockerfile, Terraform and README, ready to show in interviews.
Two security pipelines
GitHub Actions workflows for SAST, container and IaC scanning, plus API integration testing and DAST.
Step-by-step runbook
Setup, run and test instructions for Ubuntu 22.04, Docker and AWS.
About This Programme
What is a 1-2-1 session?
A live online session with one trainer and one learner. The pace, examples and labs follow the learner's own goals.
Can I book the same Secure Banking API & DevSecOps training?
Yes. It is available as 1-2-1 sessions or as a programme for a team, online or on-site.
Is SecureBank a real banking system?
No. It is an educational demonstration project for learning API security and DevSecOps. It is not a production banking platform or payment system.
Which tools are covered?
Python, FastAPI, OAuth2/JWT, SQLAlchemy, pytest, Docker, GitHub Actions, Semgrep, Trivy, Checkov, OWASP ZAP, Terraform and AWS API Gateway.
Want this programme for your team?
We deliver Secure Banking API & DevSecOps and other AI, Cloud and DevOps programmes on-site or online, 70% hands-on.