For the complete documentation index, see llms.txt. This page is also available as Markdown.

ACLs

This page describes to commands to manage Kafka ACLs in Lenses via the CLI.

View all ACLs

lenses-cli acls

Update ACLs

lenses-cli acl set \
    --resource-type="Topic" \
    --resource-name="transactions" \
    --principal="principalType:principalName" \
    --permission-type="Allow" \
    --acl-host="*" \
    --operation="Read" \
    --pattern-type="literal"

ACLs can also be created from a file:

lenses-cli acl create ./file.yaml

Example file:

resourceType: Topic
resourceName: transactions
principal: principalType:principalName
permissionType: Allow
host: "*"
operation: Read
patternType: literal

Delete ACLs

ACLs can also be deleted from a file:

Last updated

Was this helpful?