Posts in 2023
FastAPI/Starlette OIDC Authentication
Tuesday, March 28, 2023 in Technical
This post demonstrates how to validate a bearer token issued by an oidc provider. Assume the oauth flow is handled downstream. Starlette’s AuthenticationMiddleware is used to attach a SimpleUser and AuthCredentials instance to each request. …
Posts in 2017
Update ESXi 6.5 to U1 over SSH
Wednesday, November 22, 2017 in Technical
Updating ESXi 6.5 to 6.5 U1, I encountered the following error: [root@esx:~] esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.5.0-20170702001-standard [InstallationError] …
ESXi 6.5 Single USB Thumb Drive
Wednesday, November 22, 2017 in Technical
I have a goal of booting an ESXi host from a single 32GB USB thumb drive. No other internal storage should be required for this firewall application. This is an ideal setup as there are no moving parts or cables to come unplugged. USB thumb drives …
Posts in 2016
Puppet Enterprise Node Classification Backup & Restore with ncio
Sunday, August 21, 2016 in Technical
I’m happy to announce ncio, a small command line utility to backup and restore Puppet Enterprise Node Classification data. A customer recently needed to automate the process of backing up and restoring Puppet Enterprise. Most of the work …