ccloud iam rolebinding create


Create a role binding.

ccloud iam rolebinding create [flags]


    --role string            REQUIRED: Role name of the new role binding.
    --principal string       REQUIRED: Qualified principal name for the role binding.
    --cloud-cluster string   Cloud cluster ID for the role binding.
    --environment string     Environment ID for scope of rolebinding create.
    --current-env            Use current environment ID for scope.
-o, --output string          Specify the output format as "human", "json", or "yaml". (default "human")

Global Flags

-h, --help            Show help for this command.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).


Create a role binding for the client permitting it produce to the topic users.

ccloud iam rolebinding create --principal User:appSA --role DeveloperWrite --resource Topic:users --kafka-cluster-id $KAFKA_CLUSTER_ID

See Also