Using Azure CLI with a service principal instead of interactive sign in are this episodes topic. Showing how to do it from scratch, starting with Entra/Azure App registration and ending with creation of a Key Vault in our example
00:00 Intro
00:47 App registration
01:39 Granting permissions
02:30 The right role / Permissions
03:08 Login in with service principal
04:30 Certificates and secrets
The codes used are available here:
https://github.com/goodworkaround/bluescreen_scripts