Adding Security Attributes to a Mount Target
Use Zero Trust Packet Routing with a mount target.
Caution
If an endpoint has a Zero Trust Packet Routing (ZPR) security attribute, traffic to the endpoint must satisfy ZPR policies and also all NSG and security list rules. For example, if you're already using NSGs and you add a security attribute to an endpoint, all traffic to the endpoint is blocked. From then onward, a ZPR policy must explicitly allow traffic to the endpoint.
If an endpoint has a Zero Trust Packet Routing (ZPR) security attribute, traffic to the endpoint must satisfy ZPR policies and also all NSG and security list rules. For example, if you're already using NSGs and you add a security attribute to an endpoint, all traffic to the endpoint is blocked. From then onward, a ZPR policy must explicitly allow traffic to the endpoint.
Use the
fs mount-target updatecommand and required parameters to add security associations to a mount target:oci fs mount-target update --mount-target-id <mount_target_OCID> --security-attributes securityattributesFor a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateMountTarget operation to add security associations to a mount target.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.