Created
January 4, 2018 12:06
-
-
Save justinyoo/f1d93c7412ece27e0351fef33f564926 to your computer and use it in GitHub Desktop.
List of Access Keys from Output Values after ARM Template Deployment
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
{ | |
"variables": { | |
"functionApp": { | |
"name": "my-function-app", | |
"functionName": "my-function" | |
}, | |
"resourceId": "[resourceId('Microsoft.Web/sites/functions', variables('functionApp').name, variables('functionApp').functionName)]", | |
"apiVersion": "[providers('Microsoft.Web', 'sites').apiVersions[0]]" | |
}, | |
"resources": [], | |
"outputs": { | |
"functionKey": { | |
"type": "string", | |
"value": "[listSecrets(variables('resourceId'), variables('apiVersion')).key]" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment