Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 2.04 KB

tiup-command-mirror.md

File metadata and controls

40 lines (28 loc) · 2.04 KB
title summary
tiup mirror
TiUP mirror is a crucial concept in TiUP, supporting local and remote mirroring. The 'tiup mirror' command manages mirrors, creating, distributing components, and managing keys. The syntax is 'tiup mirror <command> [flags]'. Supported sub-commands include genkey, sign, init, set, grant, publish, modify, rotate, clone, and merge.

tiup mirror

In TiUP, mirror is an important concept. TiUP currently supports two forms of mirroring:

  • Local mirror: the TiUP client and the mirror are on the same machine, and the client accesses the mirror through the file system.
  • Remote mirror: the TiUP client and the mirror are not on the same machine, and the client accesses the mirror through network.

The tiup mirror command is used to manage mirrors and provides ways to create mirrors, distribute components, and manage keys.

Syntax

tiup mirror <command> [flags]

<command> stands for sub-commands. For the list of supported sub-commands, refer to the command list below.

Option

None

Command list

  • genkey: generates the private key file
  • sign: signs a specific file using a private key file
  • init: initiates an empty mirror
  • set: sets the current mirror
  • grant: grants a new component owner for the current mirror
  • publish: publishes new components to the current mirror
  • modify: modifies the attributes of the components in the current mirror
  • rotate: updates the root certificate in the current mirror
  • clone: clones a new mirror from an existing one
  • merge: merges mirrors

<< Back to the previous page - TiUP Reference command list