当前位置:网站首页>tiup mirror grant
tiup mirror grant
2022-08-01 20:34:00 【添香小铺】
命令 tiup mirror grant
用来向当前镜像中引入一个组件管理员。
组件管理员可以使用其密钥发布新的组件,也可以对其之前发布的组件作出修改。添加组件管理员时,待添加的组件管理员需要先将其公钥发送给镜像管理员。
注意
该命令仅支持在当前镜像为本地镜像时使用。
语法
tiup mirror grant <id> [flags]
<id>
为该组件管理员的 ID,该 ID 需要在整个镜像中唯一,建议使用符合正则 ^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$
的字符串。
选项
-k, --key(string,默认 ${TIUP_HOME}/keys/private.json)
指定引入的组件管理员的密钥。该密钥可以是公钥也可以是私钥。如果传入私钥,会被转换成对应的公钥储存在镜像中。
一个密钥只能被一个组件管理员使用。
-n, --name(string,默认 <id>
)
指定组件管理员的名字,该名字会展示在组件列表的 Owner
字段上。若未指定 -n/--name
则使用 <id>
作为组件管理员名字。
输出
- 若执行成功:无输出
- 若管理员 ID 重复:
Error: owner %s exists
- 若密钥已被其他管理员使用:
Error: key %s exists
边栏推荐
- 【Untitled】
- What is the difference between a utility model patent and an invention patent?Understand in seconds!
- 【ES】ES2021 我学不动了,这次只学 3 个。
- 专利检索常用的网站有哪些?
- WhatsApp群发实战分享——WhatsApp Business API账号
- 给定中序遍历和另外一种遍历方法确定一棵二叉树
- 98. Embedded controller EC actual combat EC development board development completed
- Batch get protein .pdb files based on Uniprot ID/PDB ID
- 根据Uniprot ID/PDB ID批处理获取蛋白质.pdb文件
- Determine a binary tree given inorder traversal and another traversal method
猜你喜欢
Where should I prepare for the PMP exam in September?
New graduate students, great experience in reading English literature, worthy of your collection
vant实现Select效果--单选和多选
【无标题】
面试突击70:什么是粘包和半包?怎么解决?
我的驾照考试笔记(4)
WhatsApp group sending actual combat sharing - WhatsApp Business API account
第59章 ApplicationPart内置依赖注入中间件
Fork/Join线程池
To promote energy conservation institute 】 【 the opinions of the agricultural water price reform
随机推荐
【luogu P1912】诗人小G(二分栈)(决策单调性优化DP)
用户身份标识与账号体系实践
我的驾照考试笔记(4)
Interview assault 70: what is the glue bag and a bag?How to solve?
The configuration manual for the secondary development of the XE training system of the missing moment document system
To promote energy conservation institute 】 【 the opinions of the agricultural water price reform
Postman 批量测试接口详细教程
MongoDB快速上手
用户体验好的Button,在手机上不应该有Hover态
基于FPGA的任意字节数(单字节、多字节)的串口(UART)发送(含源码工程)
30-day question brushing plan (5)
【kali-信息收集】(1.4)识别活跃的主机/查看打开的端口:Nmap(网络映射器工具)
【kali-信息收集】(1.2)SNMP枚举:Snmpwalk、Snmpcheck;SMTP枚举:smtp-user-enum
[Multi-task model] Progressive Layered Extraction: A Novel Multi-Task Learning Model for Personalized (RecSys'20)
[Multi-task optimization] DWA, DTP, Gradnorm (CVPR 2019, ECCV 2018, ICML 2018)
SIPp 安装及使用
字符串
【节能学院】推进农业水价综合改革的意见解读
Get started quickly with MongoDB
Zheng Xiangling, Chairman of Tide Pharmaceuticals, won the "2022 Outstanding Influential Entrepreneur Award" Tide Pharmaceuticals won the "Corporate Social Responsibility Model Award"