kes identity of

概述

返回 API 密钥或证书的标识。

语法

从 API 密钥返回标识

kes identity of <api-key>

从证书返回标识

kes identity of <path-to-certificate>

参数

kes identity of 不接受任何额外参数。提供 API 密钥或证书路径。

示例

从 API 密钥获取标识

kes identity of kes:v1:ACQpoGqx3rHHjT938Hfu5hVVQJHZWSqVI2Xp1KlYxFVw

从证书获取标识

kes identity of client.crt