Edit

Allow list outbound IPs for Key Vault in Azure SRE Agent

In this article, you add your agent's outbound IP addresses to a Key Vault firewall so certificate-based connectors can retrieve certificates.

Prerequisites

  • An agent in Running state
  • An Azure Key Vault with a firewall enabled (set to "Allow access from specific virtual networks and IP addresses")
  • Key Vault Contributor or Network Contributor role on the Key Vault resource

Find your agent's outbound IPs

  1. In the agent portal, go to Settings > Basics.
  2. Find the Outbound IP addresses row.
  3. Select the copy icon next to each IP address to copy it to your clipboard.

Tip

The same IPs also appear as an info banner when you configure a certificate-based connector. Either location works.

Add IPs to your Key Vault firewall

  1. Open the Azure portal.
  2. Go to your Key Vault resource.
  3. Select Networking from the left menu.
  4. Under Firewalls and virtual networks, confirm Allow access from specific virtual networks and IP addresses is selected.
  5. In the Firewall section, add each outbound IP address from Step 1.
  6. Select Save.

Verify the connection

  1. Return to the agent portal.
  2. Configure or retest your certificate-based connector.
  3. The connector should now retrieve certificates from the Key Vault without firewall errors.

Tip

If the connector still fails after adding the IPs, verify:

  • You added all IPs (not just the first one).
  • You saved the Key Vault firewall changes.
  • The agent's managed identity has the correct Key Vault role (Key Vault Secrets User or Key Vault Certificate User).