Using dsetool with Kerberos-enabled Cluster

You must enable dsetool commands to use Kerberos authentication with one of the following options:

Using the ~/.dserc file

Create or edit the ~/.dserc file in your DataStax Enterprise home directory and add the following entries:

Command line options

Specify the service name and Java Authentication and Authorization Service (JAAS) configuration file on the command line:



  • <service_name> is the service name component of the service_principal that is defined in the dse.yaml file

  • <path_to_login_config> is the JAAS configuration file with the following options declared in it:

    DseClient {

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,