Loading...
This page describes to commands to manage Kafka ACLs in Lenses via the CLI.
ACLs can also be created from a file:
Example file:
ACLs can also be deleted from a file:
lenses-cli acls
lenses-cli acl set \ --resource-type="Topic" \ --resource-name="transactions" \ --principal="principalType:principalName" \ --permission-type="Allow" \ --acl-host="*" \ --operation="Read" \ --pattern-type="literal"
lenses-cli acl create ./file.yaml
resourceType: Topic resourceName: transactions principal: principalType:principalName permissionType: Allow host: "*" operation: Read patternType: literal
lenses-cli acl delete \ --resource-type="Topic" \ --resource-name="transactions" \ --principal="principalType:principalName" \ --permission-type="Allow" \ --acl-host="*" \ --operation="Read" \ --pattern-type="literal"
lenses-cli acl delete ./file.yaml