Authenticate 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:
-
dse -v
|
When authorization is also enabled, use the |
- 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
-
For
dse client-tool,dse advrep, andSparkcommands, provide credentials using environment variables. - Providing credentials for CQLSH
-
To start a
CQLshell (cqlsh) session with a node that has DSE authentication enabled, provide credentials usingclioptions or specifying in thecqlshrcfile.