Skip to main content

list_role_bindings

inctl asset acl list_role_bindings

Lists the roles granted to users and groups on an Asset or package.

inctl asset acl list_role_bindings id [flags]

Examples


# List the roles granted on an Asset, including ancestors.
inctl asset acl list_role_bindings ai.intrinsic.move_robot --org=intrinsic@giza-workcells --include_ancestors=true

# List the roles granted on a package.
inctl asset acl list_role_bindings ai.intrinsic --org=intrinsic@giza-workcells

Options

      --api_key string           (optional) The API key to use for authentication.
--catalog_address string (optional) The address of the catalog service to use.
-h, --help help for list_role_bindings
--include_ancestors (optional) Include ancestors of the given Asset or package in the output.
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
Can be defined via the INTRINSIC_ORG environment variable.
--project string The Google Cloud Project (GCP) project to use for the catalog. You can set the environment
variable INTRINSIC_PROJECT=project_name to set a default project name.
Can be defined via the INTRINSIC_PROJECT environment variable.

Options inherited from parent commands

  -o, --output string   (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.

SEE ALSO