Creating Cassandra user roles with full database access
This content applies only to On-premises and Client-managed cloud environments
Give Pega Platform full access to your external database by creating Cassandra user roles with full access permissions.
- Create a Cassandra user role by running the
create role
CQL command:$ cqlsh -u cassandra -p cassandra -e "CREATE ROLE role_name WITH PASSWORD = 'role_password' AND LOGIN = true;"
For more information about thecreate role
CQL command, see the DataStax documentation. - Give full database access to the user role by running the
grant
CQL command:$ cqlsh -u cassandra -p cassandra -e "GRANT ALL PERMISSIONS ON ALL KEYSPACES TO role_name;"
For more information about thegrant
CQL command, see the DataStax documentation.
Previous topic Defining Pega Platform access to an external Cassandra database Next topic Creating Cassandra user roles with limited database access