@description('This parameter specifies all OS disk data') param pOSProfile object

Mahesh Vempati 186 Reputation points
2023-06-21T09:05:34.8366667+00:00

Hi Team,

We are using Bicep for resource creation in Azure. I want to pass VM's Admin name as a secure string but I cant use secure() since I am using nested templates. Here is the example

[

](https://filestore.community.support.microsoft.com/api/images/388b8d3d-b7ab-4e7e-80f1-6125953a07c1?upload=true)

And while passing parameters we are using

@description('This parameter specifies all OS disk data')

param pOSProfile object

Now How should I use only Admin password as the secure variable

Thanks,

Mahesh Vempati

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
666 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.