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. Enter a name and description for the namespace.
      Avoid entering confidential information.
    3. (Optional) To apply tags to the namespace, select 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.

    4. 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.