<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="mysql-cluster-programs-ndb-secretsfile-reader">
      </a>
      25.5.24 ndb_secretsfile_reader — Obtain Key Information from an Encrypted NDB
Data File
     </h3>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045098103632">
  </a>
  <p>
   <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html" title="25.5.24 ndb_secretsfile_reader — Obtain Key Information from an Encrypted NDB Data File">
    <span class="command">
     <strong>
      ndb_secretsfile_reader
     </strong>
    </span>
   </a>
   gets the encryption
        key from an
   <code class="literal">
    NDB
   </code>
   encryption secrets file,
        given the password.
  </p>
  <h4>
   <a name="idm46045098100048">
   </a>
   Usage
  </h4>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa83093847"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal">ndb_secretsfile_reader <em class="replaceable">options</em> <em class="replaceable">file</em></code></pre>
  </div>
  <p>
   The
   <em class="replaceable">
    <code>
     options
    </code>
   </em>
   must include one of
   <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_filesystem-password">
    <code class="option">
     --filesystem-password
    </code>
   </a>
   or
   <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_filesystem-password-from-stdin">
    <code class="option">
     --filesystem-password-from-stdin
    </code>
   </a>
   ,
        and the encryption password must be supplied, as shown here:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting language-terminal"><div class="docs-select-all right" id="sa44922636"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal">&gt; ndb_secretsfile_reader <span class="token constant">--filesystem-password</span><span class="token attr-value"><span class="token punctuation">=</span>54kl14</span> ndb_5_fs/D1/NDBCNTR/S0<span class="token punctuation">.</span>sysfile
ndb_secretsfile_reader<span class="token punctuation">:</span> <span class="token punctuation">[</span>Warning<span class="token punctuation">]</span> Using a password on the command line interface can be insecure<span class="token punctuation">.</span>
cac256e18b2ddf6b5ef82d99a72f18e864b78453cc7fa40bfaf0c40b91122d18</code></pre>
  </div>
  <p>
   These and other options that can be used with
   <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html" title="25.5.24 ndb_secretsfile_reader — Obtain Key Information from an Encrypted NDB Data File">
    <span class="command">
     <strong>
      ndb_secretsfile_reader
     </strong>
    </span>
   </a>
   are shown in the
        following table. Additional descriptions follow the table.
  </p>
  <p>
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_defaults-extra-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_defaults-extra-file">
       <code class="option">
        --defaults-extra-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045098087520">
     </a>
     <a class="indexterm" name="idm46045098086016">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-extra-file">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-extra-file=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read given file after global files are read.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_defaults-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_defaults-file">
       <code class="option">
        --defaults-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045098071648">
     </a>
     <a class="indexterm" name="idm46045098070160">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-file">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-file=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read default options from given file only.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_defaults-group-suffix">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_defaults-group-suffix">
       <code class="option">
        --defaults-group-suffix
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045098055888">
     </a>
     <a class="indexterm" name="idm46045098054384">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-group-suffix">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-group-suffix=string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Also read groups with concat(group, suffix).
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_filesystem-password">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_filesystem-password">
       <code class="option">
        --filesystem-password
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045098040128">
     </a>
     <a class="indexterm" name="idm46045098038624">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for filesystem-password">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --filesystem-password=password
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Pass the filesystem encryption and decryption password to
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html" title="25.5.24 ndb_secretsfile_reader — Obtain Key Information from an Encrypted NDB Data File">
       <span class="command">
        <strong>
         ndb_secretsfile_reader
        </strong>
       </span>
      </a>
      using
      <code class="literal">
       stdin
      </code>
      ,
      <code class="literal">
       tty
      </code>
      , or the
      <code class="filename">
       my.cnf
      </code>
      file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_filesystem-password-from-stdin">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_filesystem-password-from-stdin">
       <code class="option">
        --filesystem-password-from-stdin
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045098025424">
     </a>
     <a class="indexterm" name="idm46045098023920">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for filesystem-password-from-stdin">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --filesystem-password-from-stdin={TRUE|FALSE}
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Pass the filesystem encryption and decryption password to
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html" title="25.5.24 ndb_secretsfile_reader — Obtain Key Information from an Encrypted NDB Data File">
       <span class="command">
        <strong>
         ndb_secretsfile_reader
        </strong>
       </span>
      </a>
      from
      <code class="literal">
       stdin
      </code>
      (only).
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_help">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_help">
       <code class="option">
        --help
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045098012064">
     </a>
     <a class="indexterm" name="idm46045098010576">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for help">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --help
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display help text and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_login-path">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_login-path">
       <code class="option">
        --login-path
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045098000752">
     </a>
     <a class="indexterm" name="idm46045097999264">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for login-path">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --login-path=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read given path from login file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_no-login-paths">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_no-login-paths">
       <code class="option">
        --no-login-paths
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045097985072">
     </a>
     <a class="indexterm" name="idm46045097983584">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for no-login-paths">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --no-login-paths
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Skips reading options from the login path file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_no-defaults">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_no-defaults">
       <code class="option">
        --no-defaults
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045097973744">
     </a>
     <a class="indexterm" name="idm46045097972256">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for no-defaults">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --no-defaults
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Do not read default options from any option file other than
            login file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_print-defaults">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_print-defaults">
       <code class="option">
        --print-defaults
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045097962368">
     </a>
     <a class="indexterm" name="idm46045097960880">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for print-defaults">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --print-defaults
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Print program argument list and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_usage">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_usage">
       <code class="option">
        --usage
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045097951120">
     </a>
     <a class="indexterm" name="idm46045097949632">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for usage">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --usage
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display help text and exit; same as --help.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_secretsfile_reader_version">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-secretsfile-reader.html#option_ndb_secretsfile_reader_version">
       <code class="option">
        --version
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045097939936">
     </a>
     <a class="indexterm" name="idm46045097938448">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for version">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --version
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display version information and exit.
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
