跳到主要内容

kmeshctl_secret_create

kmeshctl secret create

通过 kmeshctl 生成 IPsec 密钥与配置

kmeshctl secret create [flags]

示例

# 使用随机 IPsec 密钥生成 IPsec 配置:
kmeshctl secret create
# 使用用户自定义密钥生成 IPsec 配置:
kmeshctl secret create --key=$(echo -n "{36-character user-defined key here}" | xxd -p -c 64)

选项

  -h, --help         help for create
-k, --key string key of the encryption

另请参阅