ccloud iam rolebinding create

Attention

The Confluent Cloud CLI is deprecated and will stop working on May 9, 2022. All ccloud features have been moved to the Confluent CLI. To update to the new CLI, run ccloud update –major. See the Migrate to Confluent CLI v2 for more details.

Description

Create a role binding.

ccloud iam rolebinding create [flags]

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

Examples

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