Hello Subash , Welcome to MS Q&A
Here are two different things which you need to understand and take actions accordingly , These are explained below
- When assigning a private endpoint for Azure Key Vault, you should select the option to "Disable public access." This ensures that all access to the Key Vault is restricted to the private endpoint, enhancing security by preventing any public access and also you cannot allow filter of IP ranges or subnet when using private endpoint as it will be only accessible to this endpoint using private link
- Allow traffic from a specific virtual network by creating the resource within that virtual network and then allowing traffic from the specific virtual network and subnet to access your Key Vault. Configure Firewall Settings:
- Sign in to the Azure portal.
- Select the Key Vault you wish to configure.
- Go to the 'Networking' blade.
- Add the existing virtual network or specify the IP address ranges you want to allow.
- Go to the 'Networking' blade.
- Select the Key Vault you wish to configure.
- Sign in to the Azure portal.
By following these steps, you can ensure that only requests from the specified IP range or subnet can access your Azure Key Vault.
References:
- Azure Key Vault security
- Configure Azure Key Vault firewalls and virtual networks
- Access Azure Key Vault behind a firewall Please let us know if any questions Thanks Deepanshu