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

AzureKeyVault task - Fix keyvault name format #16523

Conversation

simonasaitta
Copy link
Contributor

Task name: AzureKeyVaultV2

Description: Throw an error in case of invalid characters in keyvault name

Vault name and Managed HSM pool name must be a 3-24 character string, containing only 0-9, a-z, A-Z, and -.

Documentation changes required: (Y/N) N

Added unit tests: (Y/N) N

Attached related issue: (Y/N) work item

Checklist:

  • Task version was bumped - please check instruction how to do it
  • Checked that applied changes work as expected

@simonasaitta simonasaitta requested a review from rohit-batra as a code owner July 4, 2022 11:14
@PavloAndriiesh
Copy link
Contributor

Looks good to me

@max-zaytsev
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@PavloAndriiesh
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@TomasHubelbauer
Copy link
Contributor

@simonasaitta the change you made doesn't seem to codify the exact requirements you linked? Would it be better to replace the check with a regex or is this sufficient?

@TomasHubelbauer TomasHubelbauer merged commit 430de49 into microsoft:master Jul 7, 2022
simonasaitta added a commit to simonasaitta/azure-pipelines-tasks that referenced this pull request Jul 11, 2022
* Add error message in case of invalid key vault name

* bump version

Co-authored-by: Simona Saitta <[email protected]>
Co-authored-by: Pavlo Andriiesh <[email protected]>
alexander-smolyakov pushed a commit that referenced this pull request Jul 11, 2022
* Add error message in case of invalid key vault name
* bump version

Co-authored-by: Simona Saitta <[email protected]>
Co-authored-by: Pavlo Andriiesh <[email protected]>
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.

4 participants