< Previous Challenge - Home - Next Challenge>
The goals for this challenge are to understand:
So far, the only parameters you have passed into your template have been related to the Virtual Network. In the next challenge you will deploy a VM which will require you to pass in a password for the VM’s admin account. It is an ANTI-pattern to put a secret value such as a password in plain text in a parameter file! NEVER do this!
It is a BEST practice to store secret values (such as passwords) in the Azure Key Vault service. We have provided you with a script that can create a Key Vault for you, and prompt you to enter the secret value (password) you want to store in the vault.
Your challenge, should you accept it, is to:
The goal of this challenge was focused on how to retrieve secret values from Key Vault for use in an ARM Template. You can create an Azure Key Vault using an ARM Template too. Feel free to try this as a bonus challenge.