获取密钥对
获取密钥对
Query Parameters
subscription_name string
订阅
resource_group_name string
资源组
zone string
可用区
instance string[]
裸金属实例id
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
key_pairs object[]
密钥对列表
id string
密钥对id
name string
密钥对名称
public_key string
公钥
private_key string
私钥
key_id string
KMS的公钥id
tenant_id string
租户id
user_id string
用户id
tags object
属性标签
property name* string
instances object[]
绑定的裸金属实例列表
id string
裸金属实例id
name string
裸金属实例名称
display_name string
裸金属实例展示名称
create_time date-time
创建时间
update_time date-time
更新时间
next_page_token string
从先前的列表请求返回的下一页令牌值(如果存在)
total int32
查询的密钥对总数
{
"key_pairs": [
{
"id": "string",
"name": "string",
"public_key": "string",
"private_key": "string",
"key_id": "string",
"tenant_id": "string",
"user_id": "string",
"tags": {},
"instances": [
{
"id": "string",
"name": "string",
"display_name": "string"
}
],
"create_time": "2024-11-04T06:28:48.723Z",
"update_time": "2024-11-04T06:28:48.723Z"
}
],
"next_page_token": "string",
"total": 0
}
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...