How to get the function Keys in ARM templates?
See original GitHub issueAzure Function app Runtime version: ~3 C# I want get the Http trigger url in Azure function app in ARM template. But I cant find the right method.
when I use these code has exception.
"Key": {
"type": "string",
"value": "[listsecrets(resourceId('Microsoft.Web/sites/functions', parameters('existingFunctionAppName'), parameters('functionName')),'2015-08-01').key]"
},
"Url": {
"type": "string",
"value": "[listsecrets(resourceId('Microsoft.Web/sites/functions', parameters('existingFunctionAppName'), parameters('functionName')),'2015-08-01').trigger_url]"
}
So, what is the correct method the get the trigger url or the function keys?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ARM Deployment: Get Azure Function API Key
As part of a Stream Analytics deployment solution I want to retrieve the API key for a Azure Function App in an ARM...
Read more >Microsoft.Web sites/functions/keys
Web/sites/functions/keys syntax and properties to use in Azure Resource Manager templates for deploying the resource. API version latest.
Read more >Azure Function keys - what are those and how to access ...
Azure Function Keys are used for authorizing access to the functions. The host and the master key exist at the Function App level, ......
Read more >Get Azure Function host key in an ARM deployment template
Function key : A key used to authenticate at a function level. Host key : A key shared by all the functions hosted...
Read more >Managing Azure Functions Keys (using the new ARM APIs!)
Let's see how we can get the values of function keys, as well as generate our own, and update them with new values....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @Fisher-Joe, Check out this GitHub thread for some examples of how to use these APIs in your ARM templates.
Please check and let us know if this helps.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.