Providing credentials using environment variable
For dse client-tool, dse advrep, and Spark commands, provide credentials using environment variables.
Tip: Add the environment variables to your Bash
.profile or .bash_profile
files.
Database variables
To specify a user name and password for commands that interact with the database,
define variables DSE_USERNAME and
DSE_PASSWORD.
export DSE_USERNAME=username &&
export DSE_PASSWORD=password