Authenticating using DSE Utilities
Provide credentials for internal or LDAP pass-through authentication when using DataStax Enterprise (DSE) and native utilities to connect to an authentication-enabled cluster.
The following utilities do not require credentials, even when both database and Java Management Extensions (JMX) authentication are enabled:
- Providing credentials on command line
Use switches to provide a username and password from the command line.
- Providing credentials in a file
Create a file that contains credentials.
- Providing credentials using environment variable
dse advrep, and
Sparkcommands, provide credentials using environment variables.
- Providing credentials for CQLSH
To start a
cqlsh) session with a node that has DataStax Enterprise authentication enabled, provide credentials using
clioptions or specifying in the