User management

As of Apache Cassandra 2.2, Cassandra uses a role-based permission system. CQL can be utilized by a superuser to create and manage roles within Apache Cassandra. Roles can be general permission designations assigned to users or they can be users themselves.

The syntax provided will be for the role security of Apache Cassandra 2.2 and up. The syntax for managing users in prior versions is different. Thus, these commands will not work. For information on managing security in earlier versions, please consult the documentation for the appropriate version.

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.