ndb_secretsfile_reader gets the encryption
key from an NDB encryption secrets file,
given the password.
Usage
ndb_secretsfile_reader options file
The options must include one of
--filesystem-password
or
--filesystem-password-from-stdin,
and the encryption password must be supplied, as shown here:
> ndb_secretsfile_reader --filesystem-password=54kl14 ndb_5_fs/D1/NDBCNTR/S0.sysfile
ndb_secretsfile_reader: [Warning] Using a password on the command line interface can be insecure.
cac256e18b2ddf6b5ef82d99a72f18e864b78453cc7fa40bfaf0c40b91122d18These and other options that can be used with ndb_secretsfile_reader are shown in the following table. Additional descriptions follow the table.
-
Command-Line Format --defaults-extra-file=pathType String Default Value [none]Read given file after global files are read.
-
Command-Line Format --defaults-file=pathType String Default Value [none]Read default options from given file only.
-
Command-Line Format --defaults-group-suffix=stringType String Default Value [none]Also read groups with concat(group, suffix).
-
Command-Line Format --filesystem-password=passwordPass the filesystem encryption and decryption password to ndb_secretsfile_reader using
stdin,tty, or themy.cnffile. --filesystem-password-from-stdinCommand-Line Format --filesystem-password-from-stdin={TRUE|FALSE}Pass the filesystem encryption and decryption password to ndb_secretsfile_reader from
stdin(only).-
Command-Line Format --helpDisplay help text and exit.
-
Command-Line Format --login-path=pathType String Default Value [none]Read given path from login file.
-
Command-Line Format --no-login-pathsSkips reading options from the login path file.
-
Command-Line Format --no-defaultsDo not read default options from any option file other than login file.
-
Command-Line Format --print-defaultsPrint program argument list and exit.
-
Command-Line Format --usageDisplay help text and exit; same as --help.
-
Command-Line Format --versionDisplay version information and exit.