I have a simple DSC Config file that contains a credential and string input parameter. I want this DSC configuration deployed with a VM deployed in an ARM template but am missing the concept of how to pass these two parameters securely. How do I accomplish this?
相关问题
- Removing VHD's from Azure Resource Manager aft
- How to resolve SAS URL for Storage Account in RM T
- Azure ARM template nested template deployment won&
- How do I automatically install New Relic extension
- Azure resource manager template HostingEnvironment
相关文章
- Create Azure blob/fileshare container through ARM
- Check If Azure Resource Group Exist - Azure Powers
- Create Azure web app slot from ARM template withou
- Add a Azure WebApp to an Existing VPN using a Poin
- VSTS deployment fails with “Authorization failed f
- How to deploy to Azure Resource Group using VSTS r
- Azure: Microsoft.Compute resource provider stuck &
- Azure Functions ARM Template deploy deletes Functi
I was receiving the same error but, after some shenanigans, it is working for me. The important part is the
settings/Properties/SqlAgentCred/password
reference toprotectedSettings/Items/AgentPassword
. Below is the properties node under my Powershell.DSC extension resource in my template.You will specify protected settings under protectedsettings section. Anything under ProtectedSettings are sent encrypted. Check https://blogs.msdn.microsoft.com/powershell/2016/02/26/arm-dsc-extension-settings/ for details.