Providing Kerberos Credentials using a Ticket Cache

Configure Kerberos for the DataStax Enterprise (DSE) clients, including dsetool, DSE FS, DSE Graph, and DSE Spark.

Prerequisites

These steps require MIT Kerberos tools:

Procedure

  1. Create a Java Authentication and Authorization Service (JAAS) configuration file for the DSE Client as follows:

    Use the default filename .java.login.config and put the file in the user’s home directory. Set the DSE client class to com.sun.security.auth.module.Krb5LoginModule and define the variables as follows:

    DseClient {
       com.sun.security.auth.module.Krb5LoginModule required
       useTicketCache=true
       renewTGT=true;
    };
  2. Optional: If the JAAS configuration is not in the default location or has a different name, customize the location using on of the following methods:

  3. Use kinit to get a ticket:

    Start kinit:

    kinit -f <principal_name>

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, info@datastax.com