Providing credentials using environment variable

For dse client-tool, dse advrep, and Spark commands, provide credentials using environment variables.

For dse client-tool, dse advrep, and dse spark commands, provide credentials using environment variables. To increase security and prevent authentication credentials from appearing in log files, DataStax recommends using environment variables instead of passing credentials on the command line or in the .dserc file.
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