Closed rfrazier closed 2 years ago
todo - replace uniqueString with azd password feature shown here https://github.com/Azure-Samples/todo-csharp-sql/blob/main/infra/main.parameters.json#L15
FYI - while attempting to deploy I did get a failure due to the generated password not meeting the requirements.
Deployment Error Details:
PasswordNotComplex: Password validation failed. The password does not meet policy requirements because it is not complex enough.
The generated password contained lowercase and uppercase letters only (no number or special character).
Thanks for reporting this @mcollier! I saw that error once in an integration test and couldn't get the specific details we needed to make this actionable. Will open as a specific issue we can address
The templates provide a default, and the guide explains how you can override that default with your own custom password.
Issue
The SQL server password is deterministic and there may be a more secure way to generate this data.