Providing Credentials in a File
Create a file that contains the credentials for commands that access the database or Java Management Extensions (JMX).
The credentials file default name is
.dserc and the default location is the user’s home directory.
When the file uses the defaults there is no need to specify it when running commands.
If the file is in a different location or has another name, then provide the full path with the
To provide credentials for commands that require database authentication against an LDAP and/or internal scheme, define the following parameters in the
The LDAP user name or internal role name.
The account password in plain text.
To provide credentials for commands that require JMX authentication, define the following parameters in the
Set to name used for JMX login.
Set to the password of the JMX user.
DataStax Enterprise supports the built-in JMX authentication against a file or against a DSE authentication scheme. See Configuring JMX authentication.