Skip to content

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

Merged
Bin Ma (bim-msft) merged 3 commits into
Azure:devfrom
bim-msft:bim_kv_role_assignment
Oct 22, 2020
Merged

{KeyVault} Fix a filter bug while deleting role assignments#15501
Bin Ma (bim-msft) merged 3 commits into
Azure:devfrom
bim-msft:bim_kv_role_assignment

Conversation

@bim-msft

@bim-msft Bin Ma (bim-msft) commented Oct 13, 2020

Copy link
Copy Markdown
Contributor

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.

@yonzhan

Copy link
Copy Markdown
Collaborator

KeyVault

@bim-msft

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@bim-msft
Bin Ma (bim-msft) merged commit 005ecb1 into Azure:dev Oct 22, 2020
@bim-msft
Bin Ma (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