Skip to content

Commit

Permalink
deploy without custom urls to start due to keyvault permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nosvalds committed Jul 27, 2021
1 parent 2ceba5a commit afd04d4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/apim-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
env:
LinkedTemplatesBaseUrl: ${{ env.repoUrl }}/${{ env.repoBranch }}/${{ env.repoApimPath }}
PolicyXMLBaseUrl: ${{ env.repoUrl }}/${{ env.repoBranch }}/${{ env.repoApimPath }}/policies
deploymentName: --name GH_dev_deployment_apim
deploymentName: --name GH_PROD_deployment_apim
rg: --resource-group ${{ env.resourceGroup }}
apiNamePrefix: apim-iati-dev
run: |
Expand Down
52 changes: 26 additions & 26 deletions service/apim-iati-dev-apim.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,33 +48,33 @@
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "BuiltIn"
},
{
"type": "Proxy",
"hostName": "[parameters('ApimGatewayHostname')]",
"keyVaultId": "https://kv-iati-prod.vault.azure.net/secrets/cloudflare-origin-cert",
"negotiateClientCertificate": false,
"certificate": {
"expiry": "2036-07-10T11:34:00+00:00",
"thumbprint": "1D6107DFCB5568234EE24246CBAE5277D22A74C7",
"subject": "CN=CloudFlare Origin Certificate, OU=CloudFlare Origin CA, O=\"CloudFlare, Inc.\""
},
"defaultSslBinding": true,
"certificateSource": "Custom"
},
{
"type": "DeveloperPortal",
"hostName": "[parameters('ApimDevPortalHostname')]",
"keyVaultId": "https://kv-iati-prod.vault.azure.net/secrets/cloudflare-origin-cert",
"negotiateClientCertificate": false,
"certificate": {
"expiry": "2036-07-10T11:34:00+00:00",
"thumbprint": "1D6107DFCB5568234EE24246CBAE5277D22A74C7",
"subject": "CN=CloudFlare Origin Certificate, OU=CloudFlare Origin CA, O=\"CloudFlare, Inc.\""
},
"defaultSslBinding": false,
"certificateSource": "Custom"
}
// {
// "type": "Proxy",
// "hostName": "[parameters('ApimGatewayHostname')]",
// "keyVaultId": "https://kv-iati-prod.vault.azure.net/secrets/cloudflare-origin-cert",
// "negotiateClientCertificate": false,
// "certificate": {
// "expiry": "2036-07-10T11:34:00+00:00",
// "thumbprint": "1D6107DFCB5568234EE24246CBAE5277D22A74C7",
// "subject": "CN=CloudFlare Origin Certificate, OU=CloudFlare Origin CA, O=\"CloudFlare, Inc.\""
// },
// "defaultSslBinding": true,
// "certificateSource": "Custom"
// },
// {
// "type": "DeveloperPortal",
// "hostName": "[parameters('ApimDevPortalHostname')]",
// "keyVaultId": "https://kv-iati-prod.vault.azure.net/secrets/cloudflare-origin-cert",
// "negotiateClientCertificate": false,
// "certificate": {
// "expiry": "2036-07-10T11:34:00+00:00",
// "thumbprint": "1D6107DFCB5568234EE24246CBAE5277D22A74C7",
// "subject": "CN=CloudFlare Origin Certificate, OU=CloudFlare Origin CA, O=\"CloudFlare, Inc.\""
// },
// "defaultSslBinding": false,
// "certificateSource": "Custom"
// }
],
"customProperties": {
"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "false",
Expand Down

0 comments on commit afd04d4

Please sign in to comment.