CertificatesCollection
更新时间: 2026/06/26
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Systems/system_id/SecureBoot/SecureBootDatabases/database_id/Certificates
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | - | 安全启动数据库安全启动证书集合的OData描述 |
| @odata.id | string | true | - | 安全启动数据库安全启动证书集合的访问路径 |
| @odata.type | string | true | - | 安全启动数据库安全启动证书集合的类型 |
| Name | string | true | - | 安全启动数据库安全启动证书集合的名称 |
| Description | string | true | - | 安全启动数据库安全启动证书集合的描述 |
| Members | array | true | - | 安全启动数据库安全启动证书成员链接 |
| Members@odata.count | number | true | - | 安全启动数据库安全启动证书数量 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询安全启动数据库安全启动证书集合信息
说明
系统启动过程中无法查询证书集合信息。
命令格式
URL: https://device_ip/redfish/v1/Systems/system_id/SecureBoot/SecureBootDatabases/database_id/Certificates
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| system_id | 系统资源的ID | 参见源文件参数说明 |
| auth_value | 请求消息的鉴权参数 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
无
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/Systems/system_id/SecureBoot/SecureBootDatabases/database_id/CertificatesX-Auth-Token: 123456789***********************
请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#CertificateCollection.CertificateCollection",
"@odata.id": "/redfish/v1/Systems/1/SecureBoot/SecureBootDatabases/db/Certificates",
"@odata.type": "#CertificateCollection.CertificateCollection",
"Name": "CertificateCollection",
"Description": "CertificateCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/SecureBoot/SecureBootDatabases/db/Certificates/1"
},
{
"@odata.id": "/redfish/v1/Systems/1/SecureBoot/SecureBootDatabases/db/Certificates/2"
}
],
"Members@odata.count": 2
}响应码:200