confluent iam acl list¶
フラグ¶
--kafka-cluster-id string REQUIRED: Kafka cluster ID for scope of ACL commands.
--allow ACL permission to allow access.
--deny ACL permission to restrict access to resource.
--principal string Principal for this operation with User: or Group: prefix.
--host string Set host for access. Only IP addresses are supported. (default "*")
--operation string Set ACL Operation to: (all, alter, alter-configs, cluster-action, create, delete, describe, describe-configs, idempotent-write, read, write).
--cluster-scope Set the cluster resource. With this option the ACL grants
access to the provided operations on the Kafka cluster itself.
--consumer-group string Set the Consumer Group resource.
--transactional-id string Set the TransactionalID resource.
--topic string Set the topic resource. With this option the ACL grants the provided
operations on the topics that start with that prefix, depending on whether
the --prefix option was also passed.
--prefix Set to match all resource names prefixed with this value.
--context string CLI context name.
-o, --output string Specify the output format as "human", "json", or "yaml". (default "human")
グローバルフラグ¶
-h, --help Show help for this command.
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
例¶
指定された Kafka クラスターのすべての ACL のリストを表示します。
confluent iam acl list --kafka-cluster-id <kafka-cluster-id>
ユーザー Jane の allow 権限を含む、指定されたクラスターのすべての ACL のリストを表示します。
confluent iam acl list --kafka-cluster-id <kafka-cluster-id> --allow --principal User:Jane
関連情報¶
- confluent iam acl - Kafka ACL を管理します(5.4+ のみ)。