azure-powershell
azure-powershell copied to clipboard
Update-AzKeyVault documentation is ambiguous about PublicNetworkAccess "Allow" behavior
Type of issue
Missing information
Feedback
https://learn.microsoft.com/en-us/powershell/module/az.keyvault/update-azkeyvault?view=azps-11.2.0&viewFallbackFrom=azps-11.0.0 has this blurb for PublicNetworkAccess.
-PublicNetworkAccess Specifies whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules.
It is not clear how it interacts with firewall rules if we set this to "Allow". My testing shows that "Allow" does not allow public network access if firewall rules are present.
Page URL
https://learn.microsoft.com/en-us/powershell/module/az.keyvault/update-azkeyvault?view=azps-11.2.0
Content source URL
https://github.com/Azure/azure-powershell/blob/main/src/KeyVault/KeyVault/help/Update-AzKeyVault.md
Author
@mikefrobbins
Document Id
63b9732d-554f-bb4b-4daf-163a7b25dfbf
@chitturs thanks for the feedback. @jlichwa hey Jack, is there any official doc explaining how keyvault's PublicNetworkAccess property works together with firewall rules? We could reference it in the cmdlet help docs. Thanks.
This settings applies to Public IP address, if disabled , Public IP is blocked completely and access can be done only over established Private IP address. If Allow public IP is open, but can be restricted by firewall rules.
It is nothing specific to Key Vault per say, this is common behavior across entire Azure resources, driven by network team.
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!