Created
August 18, 2017 09:20
-
-
Save cdennig/bb226d5b22fd6cc4a46256cc7961e4f2 to your computer and use it in GitHub Desktop.
List Admin Keys / Redis / Azure Search
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
// Redis | |
"redis": { | |
"value": "[concat(reference(resourceId('Microsoft.Cache/Redis', variables('RedisCache').Name)).hostName, variables('RedisCache').WebAppRedisSettingText, listKeys(resourceId('Microsoft.Cache/Redis', variables('RedisCache').Name), '2015-08-01').primaryKey)]", | |
"type": "Custom" | |
} | |
// Search | |
"properties": { | |
"Search:Key": "[listAdminKeys(resourceId('Microsoft.Search/searchServices/', variables('searchAppName')), '2015-08-19').primaryKey]", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment