confluent kafka acl list¶
Attention
Due to a bug, this command is not supported in Confluent CLI 1.36.0. Confluent CLI 1.42.0 and higher releases include a fix and support this command. Install Confluent CLI 1.42.0 to your default directory, using the following command:
curl -sL --http1.1 https://cnfl.io/cli | sh -s -- v1.42.0
See Install CLI for additional installation options.
Flags¶
--url string Base URL of REST Proxy Endpoint of Kafka Cluster (include /kafka for embedded Rest Proxy). Must set flag or CONFLUENT_REST_URL.
--ca-cert-path string Path to a PEM-encoded CA to verify the Confluent REST Proxy.
--client-cert-path string Path to client cert to be verified by Confluent REST Proxy, include for mTLS authentication.
--client-key-path string Path to client private key, include for mTLS authentication.
--no-auth Include if requests should be made without authentication headers, and user will not be prompted for credentials.
--prompt Bypass use of available login credentials and prompt for Kafka Rest credentials.
--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.
-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¶
List all the local ACLs for the Kafka cluster:
confluent kafka acl list
List all the ACLs for the Kafka cluster that include allow permissions for the user Jane:
confluent kafka acl list --allow --principal User:Jane
See Also¶
- confluent kafka acl - Manage Kafka ACLs.