Session
OPS-IN-DEVOPS: Create Service Principal and Store Secret in Key Vault Using Azure DevOps.
In this Session, I will demonstrate how to Create Service Principal and Store Secret in Key Vault Using Azure DevOps.
USE CASE:-
Cloud Engineer DOES NOT have access to Azure Active Directory (AAD) to Create Service Principal.
Cloud Engineer CANNOT ELEVATE rights using PIM (Privileged Identity Management) to Create Service Principal.
AUTOMATION OBJECTIVE:-
Validate If the Service Principal Exists. If Yes, Pipeline will FAIL.
Validate If Resource Group Containing Key Vault Exists. If No Resource Group Found, Pipeline will FAIL.
Validate If Key Vault Exists inside the Specified Resource Group. If No Key Vault Found, Pipeline will FAIL.
If All of the above validation is SUCCESSFUL, Pipeline will then Create the Service Principal, Generate Secret and Store it in the Key Vault.
For more details, please refer my blog:-
- https://dev.to/arindam0310018/create-service-principal-and-store-secret-in-key-vault-2i37
Arindam Mitra
2 x Microsoft MVP, Sessionize Active Speaker 2023, Cloud Services Lead, Blogger ✍️, Public Speaker 🔊, Jogger 🏃♂️, Hiking 🥾, Traveler, Citizen of the 🌎
Zürich, Switzerland
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top