Terraform Module to create a Key Vault also adds required access policies for azure AD users, groups and azure AD service principals. This module also creates private endpoint and sends all logs to log analytic workspace or storage.
- Simple Key Vault Creation
- Key Vault with Private Endpoint
- Key Vault with Private Endpoiont using existing VNet and Subnet
To run this example you need to execute following Terraform commands
terraform init
terraform plan
terraform apply
Run terraform destroy
when you don't need these resources.