Creating a Security Attribute Namespace

Create a security attribute namespace in the Zero Trust Packet Routing (ZPR) service.

After you create a security attribute namespace, you can create security attributes in the namespace, and then apply those security attributes to the resources that you want to protect with ZPR policies.
    1. Open the navigation menu and click Identity & Security. Under Zero Trust Packet Routing, click Security Attribute Namespace.
    2. Select the compartment to create the namespace in.
    3. Click Create Security Attribute Namespace.
    4. Enter a name and description for the namespace.
      Avoid entering confidential information.
    5. (Optional) To apply tags to the namespace, click Show advanced options and enter the required value.

      If you have permissions to create a resource, you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.

    6. Click Create.
  • Use the oci security-attribute security-attribute-namespace create command and required parameters to create a security attribute namespace in the specified compartment:

    oci security-attribute security-attribute-namespace create --compartment-id <compartment_ocid> --description <security_attribute_namespace_description> --name <security_attribute_namespace_name> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateSecurityAttributeNamespace operation to create a security attribute namespace.