View gist:682c814dd027f4f5c65ee4bb3a590efd
{ | |
"type": "Microsoft.KeyVault/vaults", | |
"name": "[variables('keyvault_name')]", | |
"apiVersion": "2016-10-01", | |
"location": "uksouth", | |
"tags": {}, | |
"scale": null, | |
"properties": { | |
"sku": { | |
"family": "A", |
View azuredeploy.json
{ | |
"type": "Microsoft.KeyVault/vaults/secrets", | |
"name": "[concat(variables('keyvault_name'), '/', 'StorageAccountKey')]", | |
"apiVersion": "2016-10-01", | |
"location": "uksouth", | |
"scale": null, | |
"properties": { | |
"value": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName')), '2016-01-01').keys[0].value]", | |
"contentType": "string", | |
"attributes": { |
View Program.cs
//the url for our queue | |
var queueUrl = "https://sqs.eu-west-1.amazonaws.com/[USERID]/[QUEUENAME]"; | |
Console.WriteLine("Queue Test Starting!"); | |
Console.WriteLine("Creating Client and request"); | |
//Create some Credentials with our IAM user | |
var awsCreds = new BasicAWSCredentials("[ACCESSKEY]", "[SECRETKEY]"); |