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. On the Security Attribute Namespace list page, select Create Security Attribute Namespace. If you need help finding the list page, see Listing Security Attribute Namespaces.
    2. To select the compartment that you want to create the namespace in, do one of the following depending on what you see:
      • Under Create for compartment, select the compartment from the list.
      • Under Compartment, select the compartment from the list.

      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.

    3. Enter a name and description for the namespace.
      Avoid entering confidential information.
    4. (Optional) To apply tags to the namespace, do one of the following depending on what you see:
      • In the Tags section, select Add tag and enter the required values.
      • Select Show advanced options and enter the required values.

      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.

    5. Select 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.