Skip to content

{KeyVault} Fix a filter bug while deleting role assignments#15501

Merged
bim-msft merged 3 commits intoAzure:devfrom
bim-msft:bim_kv_role_assignment
Oct 22, 2020
Merged

{KeyVault} Fix a filter bug while deleting role assignments#15501
bim-msft merged 3 commits intoAzure:devfrom
bim-msft:bim_kv_role_assignment

Conversation

@bim-msft
Copy link
Contributor

@bim-msft bim-msft commented Oct 13, 2020

When running az keyvault role assignment delete --hsm-name xxx, CLI will delete all assignments under that HSM without any confirmation. This is really user-unfriendly.

New behavior: throw an actionable error like this:
RequiredArgumentMissingError: Please specify at least one of these parameters: --name, --scope, --assignee, --assignee-object-id, --role, --ids

In addition, this PR fixed a validation bug within track 2 data-plane clients creation.


This checklist is used to make sure that common guidelines for a pull request are followed.

@bim-msft bim-msft added this to the S177 milestone Oct 13, 2020
@bim-msft bim-msft added the KeyVault az keyvault label Oct 13, 2020
@bim-msft bim-msft self-assigned this Oct 13, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Oct 13, 2020

KeyVault

@bim-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@bim-msft bim-msft merged commit 005ecb1 into Azure:dev Oct 22, 2020
@bim-msft bim-msft deleted the bim_kv_role_assignment branch October 22, 2020 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

KeyVault az keyvault

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants