"Fossies" - the Fresh Open Source Software Archive

Member "refman-8.0-en.man-gpl/mysqlrouter_keyring.1" (29 Nov 2022, 5516 Bytes) of package /linux/misc/mysql-refman/mysql-refman-8.0-en.man-gpl.tar.gz:

Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.




mysqlrouter_keyring − MySQL Router Keyring Tool


mysqlrouter_keyring [options]


The mysqlrouter_keyring utility is a a command line application to manage MySQL Router key rings.

This feature was added in MySQL Router 8.0.18.

Usage information:

Generic commands

• −−help: usage information.

• −−version: the tool's version.

Keyring commands; all commands also accept −−master−key−reader and −−master−key−writer instead of −−master−key−file.

• −−init: Initialize keyring with a master−key−file.

Creates a keyring and master−key−file if they doo not exist; and adds keyring to master−key−file if it does not yet exist there.

• −−list: List usernames stored in the keyring; or list properties of a user stored in the keyring.

• −−get: Get property of user from the keyring.

• −−export: Export keyring as JSON.

• −−set: Set property in the keyring.

• −delete−: Delete user from the keyring.

Master−key commands

• −−master−key−list: List keyring−ids from master−key−file.

• −−master−key−delete: Delete master−ley from "keyring" from master−key−file.

• −−master−key−rename: Rename keyring−id in a master−key−file.


$> mysqlrouter_keyring init −−master−key−file=mysqlrouter.key data/keyring
$> mysqlrouter_keyring list −−master−key−file=mysqlrouter.key data/keyring
$> mysqlrouter_keyring list −−master−key−file=mysqlrouter.key data/keyring user
$> mysqlrouter_keyring get −−master−key−file=mysqlrouter.key data/keyring someuser key
$> mysqlrouter_keyring export −−master−key−file=mysqlrouter.key data/keyring
$> mysqlrouter_keyring set −−master−key−file=mysqlrouter.key data/keyring user key value
$> mysqlrouter_keyring delete −−master−key−file=mysqlrouter.key data/keyring user
$> mysqlrouter_keyring delete −−master−key−file=mysqlrouter.key data/keyring user key
$> mysqlrouter_keyring master−key−list −−master−key−file=mysqlrouter.key
$> mysqlrouter_keyring master−key−delete −−master−key−file=mysqlrouter.key data/keyring
$> mysqlrouter_keyring master−key−rename −−master−key−file=mysqlrouter.key data/keyring other/data/keyring


Copyright © 2006, 2021, 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/.


Oracle Corporation (http://dev.mysql.com/).