Authentication

Apache Cassandra allows for user authentication to be set up. Similar to other Cassandra components, users and their (encrypted) credentials are stored in a table inside the cluster. Client connections are required to provide valid username/password combinations before being allowed access to the cluster. To enable this functionality, simply change the authenticator property in the cassandra.yaml file from its default (AllowAllAuthenticator) to PasswordAuthenticator:

authenticator: PasswordAuthenticator
Once you have created your own DBA-level superuser account for administrative purposes, you should never use the default cassandra user again. This is because the Cassandra user is the only user that has special provisions in ...

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.