Commit 9c8071b
fix: remove hardcoded VM admin password and update credential docs
- Remove hardcoded default password from vmAdminPassword parameter in
main.bicepparam to prevent known credentials from being deployed
unintentionally. The parameter now defaults to an empty string,
requiring users to set VM_ADMIN_PASSWORD via azd env set.
- Update deployment guide to remove guidance that encouraged committing
VM credentials to source control. Replaced with security warning
recommending azd env set, secrets manager, or pipeline secret
variables.
- Aligned with VM credential patterns used by other Microsoft solution
accelerators (Content Generation, Code Modernization, DKM, Container
Migration) which use pure environment variable substitution with no
hardcoded password defaults.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ab864e0 commit 9c8071b
2 files changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
| 215 | + | |
221 | 216 | | |
222 | 217 | | |
223 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
0 commit comments