Create a Secure RESTful API Gateway for PowerShell Scripts
summary
Module restPS is an open source PowerShell wrapper around the .NET HTTP listener that exposes script files as JSON-defined routes, runs on PowerShell 5.1/6/7 and in containers, and is single-threaded. It supports HTTPS with server and client certs, CA validation, CRL checks and optional token/password checks, and includes helper scripts. It is used to manage about 80 vCenters via per-host endpoints, returns script output over HTTP(S), and the demo implementations mostly function with some live-demo hiccups.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 0:35About Justin
- 6:52Agenda
- 7:40Demo Overview
- 8:19Demo Walkthrough
- 10:03Import Consoles
- 10:53Deploy
- 12:05Routes
- 13:38Server Console
- 15:13Console Title
- 15:45Web Browser Demo
- 17:13Certificate Demo
- 20:07HTTP Demo
- 22:02Disable SSL Validation
- 23:08Switch to HTTPS
- 24:00Verify Root CA
- 24:32Testing
- 30:27Troubleshooting
- 32:43Recap
related talks
37mPowerShell Web Access
01h 33mA hands-on lab working
47mSecure PowerShell web tools with System Frontier
41mHow Secure Can You Be?
44mSupply Chain Security - PSResourceGet...
49mAdvanced Network Scripting with PowerShell
40mSecurity That Says “Yes”: Agile Windows Security with PowerShell
48mStop Writing Insecure PowerShell... Seriously.
