Managing a Network Load Balancer's Security Attributes
Add, update, and remove security attributes associated with a network load balancer.
Use Zero Trust Packet Routing (ZPR) along with, or in place of, network security groups to control network access to OCI resources by applying security attributes to them and creating ZPR policies to control communication among them. For more information, see Zero Trust Packet Routing.
ZPR security attributes added to a network load balancer are always configured as the Enforce mode.
Adding Security Attributes
The security attributes you added are viewable Security tab in the network load balancer's Details page. Editing Security Attributes
To update a network load balancer's existing security attributes, follow these steps The security attributes you added or updated are viewable in the Security tab in the network load balancer's details page. Deleting Security Attributes
To delete a network load balancer's existing security attributes, follow these steps - Open the Manage Security Attributes panel in the details page as described earlier in this topic.
- Find the network load balancer whose security attributes you want to delete.
- From the Actions menu, select Delete.
- When prompted, confirm the deletion.
Adding Security Attributes
You can include ZPR security attributes when using oci nlb network-load-balancer create command by including the
security-attributes
option and corresponding value:oci nlb network-load-balancer create ... --security-attributes security_attributes
where
security_attributes
are ZPR security attributes for this network load balancer.For example:
oci nlb network-load-balancer create ... --security-attributes {"oracle-zpr":{"td":{"value":"42","mode":"enforce"}}}
For information on creating a network load balancer using the CLI, see Creating a Network Load Balancer.
Similarly, you can use the
security-attributes
option when running the oci opensearch cluster update command to add ZPR security attributes when you're updating it:oci opensearch cluster update ... --security-attributes security_attributes
For information on updating a network load balancer using the CLI, see Editing a Network Load Balancer.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Editing Security Attributes
Use the
security-attributes
option when running the oci nlb network-load-balancer update command to change the settings of existing ZPR security attributes.Deleting Security Attributes
Use the
security-attributes
option with the value "{}
" when running the oci nlb network-load-balancer update command to delete the settings of ZPR security attributes. For example:oci nlb network-load-balancer update ... --security-attributes {}
Adding Security Attributes
Run the CreateNetworkLoadBalancer operation to add security attributes to a network load balancer you're creating. Include the
securityAttributes
attributes and it values.Run the UpdateNetworkLoadBalancer operation to add security attributes to an existing network load balancer. Include the
securityAttributes
attributes and it values.Editing Security Attributes
Run the UpdateNetworkLoadBalancer operation to update a network load balancer. Include the
securityAttributes
attributes and update their existing values.Deleting Security Attributes
Run the UpdateNetworkLoadBalancer operation to update a network load balancer. Include the
securityAttributes
attributes with an empty map to delete the security attributes.