Important

You are viewing documentation for an older version of Confluent Platform. For the latest, click here.

confluent iam rolebinding create

Description

Create a role binding.

confluent iam rolebinding create [flags]

Flags

--role string                         Role name of the new role binding.
--resource string                     Qualified resource name for the role binding.
--prefix                              Whether the provided resource name is treated as a prefix pattern. The default is false.
--principal string                    Qualified principal name for the role binding.
--kafka-cluster-id string             Kafka cluster ID for the role binding.
--schema-registry-cluster-id string   Schema Registry cluster ID for the role binding.
--ksql-cluster-id string              KSQL cluster ID for the role binding.
--connect-cluster-id string           Kafka Connect cluster ID for the role binding.
-h, --help                            Print command information.

Global Flags

-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

Note

If you need to troubleshoot when setting up role bindings, it may be helpful to view audit logs on the fly to identify authorization events for specific principals, resources, or operations. For details, refer to Viewing audit logs on the fly.