kibo context
本页列出 kibo context 及其子命令的用法、示例与参数,由 kibo 的源码生成;说明文字与 kibo --help 相同,为英文。
Enroll and maintain this host's Operator identity.
本页的每个命令还接受全局参数 --endpoint、--json 与 --timeout,见 kibo CLI 参考。
子命令:
kibo context enroll: Consume a one-time enrollment key and save the formal Operator identitykibo context renew: Renew the enrolled Operator identity with a fresh local keykibo context show: Show the enrolled Operator identity without contacting ctrl
kibo context enroll
Verifies the ctrl API endpoint named by --endpoint against the server CA carried by the one-time enrollment key, presents the key over mTLS, generates the formal private key locally, and saves the issued identity, the server CA, the endpoint, and the optional forward proxy atomically in the kibo context directory. Every later command connects to that endpoint with that identity. The key is read from a no-echo terminal unless --key-stdin, --key-fd, or --key-file selects another source; it never appears on the command line.
kibo context enroll [flags]示例:
kibo context enroll --endpoint https://ctrl.example.com:8443 --key-file ./operator.key| 参数 | 默认值 | 说明 |
|---|---|---|
--key-fd <fd> | read the enrollment key from the inherited file descriptor fd (3 or higher) | |
--key-file <path> | read the enrollment key from the file at path | |
--key-stdin | read the enrollment key from stdin | |
--proxy <url> | forward proxy url saved with the context: http, https (CONNECT) or socks5; proxy environment variables are then ignored |
kibo context renew
Renew the enrolled Operator identity with a fresh local key.
kibo context renew [flags]kibo context show
Show the enrolled Operator identity without contacting ctrl.
kibo context show [flags]