Authorization in Cassandra
Authorization in Cassandra Authorization in Cassandra is disabled by default. This grants all permissions to all roles. But disabling authorization is not used in production deployment. Cassandra has role based access control and using this we can configure proper access profile and schema access limitations. To enable authorization we must enable authorizer in cassandra.yaml file. By default: After enabling authorization: Now restart the node using the following command: ndoetool drain; nodetool stopdaemon; cassandra Once we enable authorization we have to start creating roles. Let's create a dba role, which has to have all the permissions on all the keyspaces. Create an sales_admin role, which has to have all permissions on that particular keysapce. Create an read_only role, which has to have only select access on all the keyspace. High level roles as place holder for all roles. create role 'dba_role' with login=false; create role 'sales_admin' login=false; crea...