2.204. openstack network rbac create


usage: openstack network rbac create [-h] [-f {json,shell,table,value,yaml}]
                                     [-c COLUMN] [--max-width <integer>]
                                     [--noindent] [--prefix PREFIX] --type
                                     <type> --action <action> --target-project
                                     <target-project>
                                     [--target-project-domain <target-project-domain>]
                                     [--project <project>]
                                     [--project-domain <project-domain>]
                                     <rbac-object>
Create network RBAC policy

Positional arguments

<rbac-object>


        The object to which this RBAC policy affects (name or
      ID for network objects, ID only for QoS policy
      objects)

Optional arguments

-h, --help


        show this help message and exit

--type <type>


        Type of the object that RBAC policy affects
      ("qos_policy" or "network")

--action <action>


        Action for the RBAC policy ("access_as_external" or
      "access_as_shared")

--target-project <target-project>


      The project to which the RBAC policy will be enforced
      (name or ID)

--target-project-domain <target-project-domain>


      Domain the target project belongs to (name or ID).
      This can be used in case collisions between project
      names exist.

--project <project>


        The owner project (name or ID)

--project-domain <project-domain>


      Domain the project belongs to (name or ID). This can
      be used in case collisions between project names
      exist.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top