-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthew Herb
committed
May 6, 2024
1 parent
3f7f761
commit 38c8bc4
Showing
9 changed files
with
185 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
PoMad/Properties/ServiceDependencies/PoMad/secrets1.arm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"resourceGroupName": { | ||
"type": "string", | ||
"defaultValue": "PoMad", | ||
"metadata": { | ||
"_parameterType": "resourceGroup", | ||
"description": "Name of the resource group for the resource. It is recommended to put resources under same resource group for better tracking." | ||
} | ||
}, | ||
"resourceGroupLocation": { | ||
"type": "string", | ||
"defaultValue": "eastus", | ||
"metadata": { | ||
"_parameterType": "location", | ||
"description": "Location of the resource group. Resource groups could have different location than resources." | ||
} | ||
}, | ||
"resourceLocation": { | ||
"type": "string", | ||
"defaultValue": "[parameters('resourceGroupLocation')]", | ||
"metadata": { | ||
"_parameterType": "location", | ||
"description": "Location of the resource. By default use resource group's location, unless the resource provider is not supported there." | ||
} | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"type": "Microsoft.Resources/resourceGroups", | ||
"name": "[parameters('resourceGroupName')]", | ||
"location": "[parameters('resourceGroupLocation')]", | ||
"apiVersion": "2019-10-01" | ||
}, | ||
{ | ||
"type": "Microsoft.Resources/deployments", | ||
"name": "[concat(parameters('resourceGroupName'), 'Deployment', uniqueString(concat('pomad', subscription().subscriptionId)))]", | ||
"resourceGroup": "[parameters('resourceGroupName')]", | ||
"apiVersion": "2019-10-01", | ||
"dependsOn": [ | ||
"[parameters('resourceGroupName')]" | ||
], | ||
"properties": { | ||
"mode": "Incremental", | ||
"template": { | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"resources": [ | ||
{ | ||
"name": "pomad", | ||
"type": "Microsoft.KeyVault/vaults", | ||
"location": "[parameters('resourceLocation')]", | ||
"properties": { | ||
"sku": { | ||
"family": "A", | ||
"name": "Standard" | ||
}, | ||
"tenantId": "bbc1ef8a-6d87-4226-8735-685dd2ce9ca3", | ||
"accessPolicies": [], | ||
"enabledForDeployment": false, | ||
"enabledForDiskEncryption": false, | ||
"enabledForTemplateDeployment": false, | ||
"enableSoftDelete": true, | ||
"softDeleteRetentionInDays": 90, | ||
"enableRbacAuthorization": true | ||
}, | ||
"apiVersion": "2016-10-01" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"metadata": { | ||
"_dependencyType": "secrets.keyVault" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"dependencies": { | ||
"secrets1": { | ||
"serviceConnectorResourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.Web/sites/PoMad/providers/Microsoft.ServiceLinker/linkers/VaultUri_B35A13F4D9", | ||
"secretStore": "AzureAppSettings", | ||
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.KeyVault/vaults/pomad", | ||
"type": "secrets.keyVault", | ||
"connectionId": "VaultUri", | ||
"dynamicId": null | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,17 @@ | |
}, | ||
"AllowedHosts": "*", | ||
"AzureTableStorage": { | ||
"ConnectionString": "your_azure_table_storage_connection_string", | ||
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=pomad;AccountKey=I31TU2NUVy5M5zoqtfowaLs7pla3e4xfL4zp76i9zlLUsMVQWfQ2YzpRnZ5hWlvLYU7IFoyz2Nd3+AStnhM3vA==;EndpointSuffix=core.windows.net", | ||
"TableName": "DailyData" | ||
}, | ||
"SendGrid": { | ||
"ApiKey": "your_sendgrid_api_key", | ||
"FromEmail": "[email protected]", | ||
"FromName": "PoMad" | ||
}, | ||
"VaultUri": "https://pomad.vault.azure.net/", | ||
"GoogleAuth": { | ||
"ClientId": "732386519629-bqh9gqoq1snfcb6j1fh88j5lscj5v4ht.apps.googleusercontent.com", | ||
"ClientSecret": "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" | ||
} | ||
} |