stores App Insights Instrumentation key in Key Vault secret
gives APIM access to Key Vault secrets
note: no network security - moved to issue #18
Changes to API Ops config:
adds Named Value that references Key Vault instrumentation key secret
adds Logger that connects to the App Insights resource deployed via Terraform, using the instrumentation key named value
adds Diagnostic settings that connects the Logger to all APIs exposed by APIM
adds configuration overrides so that the production environment's instrumentation key named value points to the prod key vault, the logger connects to the prod app insights, and the APIs in the prod instance use the prod logger
Todo:
the process currently requires manual updates. After deploying the terraform project, resource IDs need to be added to the configuration.prod.yaml file. These values should be written as part of the deployment process, like is done with the .env file already. Added issue #22 to cover this.
Changes to Terraform:
Changes to API Ops config:
Todo:
Example output:
dev APIM -
prod APIM -