This terraform project was created for the final project of PGSICP, a cybersecurity post-grad from ISEP.
Goal: Create the main Azure keyvault that will store infrastructure secrets.
Actions performed by this project:
- Create azure keyvault
- Create azure App Registration (to grant programmatic access to the keyvault)
- Create a secret (similar to a password) in the App Registration
- Save secret and clientID from AppReg in the keyvault
- Grant access to keyvault to user hflacerda and to the AppReg created
- Terraform 1.2 or higher installed
- Azure subscription
- Replace values in backend.tf file (tenantID, subscriptionID, storage account
- Replace values in vars.tf file (resource name, tags, tenantID, subscriptionID, accountIDs, etc)