Ability to secure a string inside a template using a template secureString() function
Imagine a scenario where you build a complex object in the variables and/or outputs section and want that object returned with some members of type securestring.
usage example:
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {},
"resources": [],
"outputs": {
"configuration": {
"type": "object",
"value": {
"assetsLocation": "<a rel="nofollow noreferrer" href="http://myassetslocation"">http://myassetslocation"</a>,
"assetsSasToken": "[secureString('?someSasToken')]"
}
}
}
}
2
votes
