allowedIp
public List<String> allowedIp()
Gets the allowedIp.
A string array of IPv4 or IPv6 CIDR notated subnets that are authorized to interact with the instance. If both
`allowedNetwork` and `allowedIP` policies are set, only traffic aligning with both the `allowed_network` allowed
network policy attribute and the
`allowed_ip` allowed IP policy attribute will be allowed.
IPv4 and iIP6 addresses are accepted for public endpoints. Only the IPv4 private network gateway addresses from the
array will be authorized to access your instance via private endpoint.
**Important:** Once set, accessing your instance may require additional steps. Please visit
[Accessing an instance via public
endpoint](/docs/key-protect?topic=key-protect-manage-allowed-ip#access-allowed-ip-public-endpoint) and
[Accessing an instance via private
endpoint](/docs/key-protect?topic=key-protect-manage-allowed-ip#access-allowed-ip-private-endpoint) for more
details.
**Note:** An allowed IP policy does not affect requests from other IBM Cloud services.
- Returns:
- the allowedIp