ndb_secretsfile_reader − obtain key information from an encrypted ndb data file
ndb_secretsfile_reader options file |
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.
cac256e18b2ddf6b5ef82d99a72f18e864b78453cc7fa40bfaf0c40b91122d18
These and other options that can be used with ndb_secretsfile_reader are shown in the following table. Additional descriptions follow the table.
Table 23.45. Command−line options used with the program ndb_secretsfile_reader
•
−−defaults−extra−file
Read given file after global files are read.
•
−−defaults−file
Read default options from given file only.
•
−−defaults−group−suffix
Also read groups with concat(group, suffix).
•
−−filesystem−password
Pass the filesystem encryption and decryption password to
ndb_secretsfile_reader using stdin, tty, or the
my.cnf file.
•
−−filesystem−password−from−stdin
Pass the filesystem encryption and decryption password to
ndb_secretsfile_reader from stdin (only).
•
−−help
Display help text and exit.
•
−−login−path
Read given path from login file.
•
−−no−defaults
Do not read default options from any option file other than
login file.
•
−−print−defaults
Print program argument list and exit.
•
−−usage
Display help text and exit; same as −−help.
•
−−version
Display version information and exit.
ndb_secretsfile_reader was added in NDB 8.0.31.
Copyright © 1997, 2023, Oracle and/or its affiliates.
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/.
Oracle Corporation (http://dev.mysql.com/).