Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Deploy.ps1 #500

Merged
merged 2 commits into from
Jun 5, 2023
Merged

Update Deploy.ps1 #500

merged 2 commits into from
Jun 5, 2023

Conversation

neelavarshad
Copy link
Contributor

Added numeric check for keyvault names

Added numeric check for keyvault names
@santhoshb-msft santhoshb-msft self-assigned this May 26, 2023
@santhoshbomma9
Copy link
Contributor

@neelavarshad - could you please add an issue to this PR?

@neelavarshad neelavarshad linked an issue May 31, 2023 that may be closed by this pull request
@neelavarshad
Copy link
Contributor Author

Added Issue #512

@santhoshb-msft
Copy link
Contributor

@louisephilardeau is working on testing this

@louiseph
Copy link
Contributor

louiseph commented Jun 2, 2023

Hi @neelavarshad, the PR looks good to me, can confirm after testing that the regex no longer allows for KeyVault name to start with a number, and all other existing behavior still works as expected. One quick note: The change in regex also excludes the name from starting with a hyphen - assuming this is desired, would it make sense to call this out in the error message by specifying that the name can only start with a letter?

Updated keyvault error message
@louiseph louiseph merged commit 7fb59a7 into Azure:main Jun 5, 2023
@Azure Azure deleted a comment from santhoshbomma9 Jun 5, 2023
@santhoshb-msft
Copy link
Contributor

Thank you @louiseph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Key vault name cannot start with a number
4 participants