Building Secure APIs and Microservices Training Course
Course Overview
Backend programmers who write REST endpoints in Python, Java or Node.js learn to lock down APIs and microservices without breaking what they do. Day one covers the architecture and its usual threats, then OAuth 2.0, JWT, RBAC and PBAC, with a token-based login lab and a TLS lab that adds HTTPS and certificate pinning. Day two fixes injection, XSS and CSRF flaws, sets up rate limiting and an API gateway, and runs tests with Postman and OWASP ZAP inside a CI/CD pipeline. By the end, each group has built and tested a secure API of its own.
Format of Training
- Trainer-led walkthroughs of REST and microservice designs
- Lab building a token-based login with OAuth 2.0 and JWT
- TLS and API gateway set-up exercises on a sample microservice
- Bug-hunting lab on flawed endpoints, then testing in Postman and OWASP ZAP
Course Objectives
- Explain the core ideas of API and microservice security.
- Build secure authentication with OAuth 2.0 and JWT.
- Apply role-based access control (RBAC) to decide who can do what.
- Protect sensitive data with encryption and secure transport protocols.
- Close common API flaws such as injection and XSS.
- Add security testing to the way APIs and microservices are built.
- Use API gateways and monitoring tools to tighten security.
Prerequisites
- Some web development experience, including RESTful APIs.
- Working knowledge of a language such as Python, Java or Node.js.
- No API or microservice security background needed.
- Readiness to join in practical exercises.
Course Outline
Day 1:
Session 1: Introduction to API and Microservice Security
- How RESTful APIs and microservices architecture fit together
- Why security has to shape API and microservice design
- Threats and weak points that come up often
Session 2: Secure Authentication and Authorization
- Putting OAuth 2.0 and JSON Web Tokens (JWT) to work
- Role-based access control (RBAC) and policy-based access control (PBAC)
- Hands-on lab: building a login system that uses tokens
Session 3: Data Protection and Secure Communication
- Encrypting sensitive data when stored and when sent
- HTTPS and certificate pinning in practice
- Hands-on lab: protecting API traffic with TLS
Day 2:
Session 1: Preventing Common API Vulnerabilities
- Stopping injection attacks, XSS and CSRF
- Rate limiting and input validation methods
- Hands-on lab: finding and fixing flaws in APIs
Session 2: API Gateways and Monitoring
- What an API gateway adds to security
- Setting up rate limiting, throttling and monitoring
- Hands-on lab: configuring an API gateway in front of a secure microservice
Session 3: Security Testing and Continuous Monitoring
- API security testing tools such as Postman and OWASP ZAP
- Running security tests inside CI/CD pipelines
- Final group exercise: building and testing a secure API
Book This Course
Customise This Course for Your Team
Bring a few endpoints from one of your own services, and the Day 2 bug-hunting lab can work on them. Groups that already run a gateway can spend that session on its rules rather than a fresh set-up. Send us your stack and we will match the labs to it.
Need help with the right course to choose?
Explore more opportunities
- Duration: 1 Day
- 4.5 Ratings
Introduction to Secure Software Development Lifecycle (SDLC) Training Course
- Duration: 4 Days
- 4.5 Ratings
Certified Secure Software Lifecycle Professional (CSSLP) Exam Preparation Training Course
- Duration: 2 Days
- 4.5 Ratings
OWASP Top 10: Understanding and Mitigating Common Software Vulnerabilities Training Course
- Duration: 3 Days
- 4.5 Ratings
Secure Coding Best Practices for Python, Java, and C# Training Course
- Duration: 2 Days
- 4.5 Ratings
Threat Modeling for Secure Software Development Training Course
- Duration: 2 Days
- 4.5 Ratings
Web Application Security Fundamentals Training Course