kibo 命令
kibo enrollment
本页列出 kibo enrollment 及其子命令的用法、示例与参数,由 kibo 的源码生成;说明文字与 kibo --help 相同,为英文。
Create one-time enrollment grants and revoke principals.
本页的每个命令还接受全局参数 --endpoint、--json 与 --timeout,见 kibo CLI 参考。
子命令:
kibo enrollment create: Create a one-time enrollment grant and save its key to--outputkibo enrollment revoke: Revoke a principal's admission and pending grants
kibo enrollment create
Create a one-time enrollment grant and save its key to --output.
kibo enrollment create [flags]| 参数 | 默认值 | 说明 |
|---|---|---|
--command-id <key> | idempotency key for this change; see kibo help command-ids | |
--data-plane-extra-host <stringArray> | node grants only, repeatable: an extra DNS name or IP address (an IP, loopback, or external DNS name) the node's data-plane certificate must also name, beyond the derived <node_id>.<suffix> host | |
--node <id> | node id | |
--operator <id> | Operator principal id | |
--output <path> | 必填 | path of a new private file for the enrollment key |
--ttl <duration> | grant lifetime between 1m and 24h (default 1h) |
kibo enrollment revoke
Revoke a principal's admission and pending grants.
kibo enrollment revoke [flags]| 参数 | 默认值 | 说明 |
|---|---|---|
--node <id> | node id | |
--operator <id> | Operator principal id | |
-y, --yes | do not ask for confirmation |