tiup mirror sign

    <manifest-file> 为被签名的文件地址,可以有两种地址:

    • 网络地址:http 或者 https 开头,如 http://172.16.5.5:8080/rotate/root.json
    • 本地文件路径:相对路径或绝对路径均可
    • 支持以 http post 访问,客户端会在 http get 返回的内容的 signatures 字段中加上本次的签名 POST 到该地址

    指定用于签名的私钥位置。

    —timeout (int,默认 10)

    • 成功:无输出
    • 文件已被指定的 key 签名过:Error: this manifest file has already been signed by specified key