Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
List Admin Keys / Redis / Azure Search
// 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