Azure / Azure/azure-powershell

[Doc]: `Get-AzKeyVaultCertificateContact` - What is least privilege permission in both RBAC and access policy?

Open
#27,911 2 comments 0 reactions 1 assignee Claimed by @notyashhh View on GitHub
act-identity-squad Azure PS Team customer-reported KeyVault potential-pruning question
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Type of issue

Other (describe below)

### Feedback

What's the least privilege permissions for Key Vault to do `Get-AzKeyVaultCertificateContact`, both for access policies and RBAC? Is RBAC even supported?

* Cmdlet:
* API endpoint:

When request to an RBAC enabled Key Vault fails, the error says action `Microsoft.KeyVault/vaults/certificatecontacts/write` is required. This seems overkill. But seems to be the only relevant action available:

*

For access policy based Key Vaults, it seems to be `managecontacts`, which also is a write permissions?

*
*

### Page URL

_No response_

### Content source URL

_No response_

### Author

_No response_

### Document Id

_No response_

### Platform Id

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.