Configuration
Start from the sample:
Copy-Item .\config.yaml .\config.local.yamlThen edit config.local.yaml.
Required Edits
Section titled “Required Edits”Replace placeholder values for:
resourceGroup.namekeyVault.namestorage.resourceGroupstorage.accountNamestorage.fileShareNamecredentials.username
Safe Network Baseline
Section titled “Safe Network Baseline”Keep the VM private:
network: publicIp: enabled: false
securityRules: []Use Azure Bastion for RDP access.
Secrets
Section titled “Secrets”Do not put passwords in YAML. Store the VM admin password in Key Vault under keyVault.vmAdminPasswordSecretName, or use -GeneratePassword only for disposable labs.
Guest Scripts
Section titled “Guest Scripts”softwareInstalls.installScript and softwareInstalls.logonScript are trusted PowerShell inputs. Review them before deployment.