Where can I find SecureString of VM extensions?

Vincent Li 51 Reputation points

Hello all, I've exported a template for my resource group. When I try to deploy a new one from that template Json file, I was asked to provide some credential infos, which are encrypted as "SecureString" in the Json file. So where can I get them? Thanks.


Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,372 questions
0 comments No comments
{count} votes

Accepted answer
  1. Devaraj G 2,091 Reputation points


    While exporting the templates, credentails realted items will be missing and this is expected behaviour / limiatation.

    Please re-look at template referance and add those security related configs manually and deploy.


    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Amol Shelar 421 Reputation points

    @Vincent Li

    This is expected behavior. Some password parameters might be missing from the exported templates. You need to check template reference, and manually add these parameters before you can use the templates to deploy resources.

    Please find below link to have detailed information on exporting a Azure template.


    --please don't forget to "[Accept the answer]" if the reply is helpful--


    0 comments No comments