QuestionQ68

VerifiedSecure identity and access

You intend to use Azure Resource Manager templates to carry out multiple deployments of identically configured Azure virtual machines. The administrator-account password for every deployment is stored as a secret in different Azure key vaults.

You need to identify a way to dynamically construct a resource ID that designates the key vault containing the correct secret for each deployment.

The key vault name and secret name will be supplied as inline parameters.

What should you use to construct the resource ID?

Explanation

A linked template supports dynamically generating the Key Vault resource ID from deployment parameters and passing that ID for the secret reference. ARM template expressions are not permitted in a parameters file, so it cannot construct the dynamic ID there.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!