GET – 密钥属性
使用 GET 方法检索 Redfish 服务的 Key 资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/AccountService/Accounts/{ManagerAccountId}/Keys/{KeyId}
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Id | 字符串 | SSH_Key_{key_index} | |||
Name | 字符串 | SSH_Key_{key_index} | |||
Descripion | 字符串 | “This resource is used to represent a SSH Key for a Redfish implementation.” | |||
KeyString | 字符串 | 密钥的字符串。 | |||
KeyType | 字符串 | SSH | |||
UserDescription | 字符串 | 用于描述此密钥的用户定义字符串。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
提供反馈