Provide credentials in a file
Create a file that contains the credentials for commands that access the database or Java Management Extensions (JMX).
Path to file
The credentials file can be named anything you prefer, for example, .hcdrc
.
The file location can be anywhere on the filesystem.
You must provide the full path with the -f
option when running commands.
Database authentication parameters
To provide credentials for commands that require database authentication against an LDAP and/or internal scheme, define the following parameters in the credentials file.
username=<username>
password=<password>
- username
-
The LDAP user name or internal role name.
- password
-
The account password in plain text.
JMX authentication parameters
To provide credentials for commands that require JMX authentication, define the following parameters in the credentials file.
jmx_username=<jmx_username>
jmx_password=<jmx_password>
- jmx_username
-
Set to name used for JMX login.
- jmx_password
-
Set to the password of the JMX user.
Hyper-Converged Database (HCD) supports the built-in JMX authentication against a file or against a HCD authentication scheme. For more information, see Configure JMX authentication. |