{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"SecretDetailResp":{"description":"密钥","properties":{"created_at":{"description":"创建时间","type":"string"},"description":{"description":"密钥描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\","type":"string"},"id":{"description":"密钥ID","type":"string"},"name":{"description":"密钥名称,以小写英文字母开头,4-64位,可以使用小写英文、数字、中划线(-),不能以中划线结尾","type":"string"},"project_id":{"description":"项目ID","type":"string"},"secrets":{"additionalProperties":{"type":"string"},"description":"secrets是一个字典,由多个键值对组成,json化后最大总长度为1048576,key和value均为字符串。键值对中key由大小写字母或中划线开头,由数字、大小写字母、点号(.)、中划线(-)、下划线(_)组成,最小长度为1,最大长度63个字符, 键值对中的value必须为base64字符。\n注:secrets字典的长度即字典转为标准的字符串后的长度,例如字典{\"a\": \"b\"}转为标准字符串后为'{\"a\": \"b\"}',长度为10","type":"object"},"type":{"description":"密钥类型,目前只支持“Opaque”类型","type":"string"},"updated_at":{"description":"更新时间","type":"string"}},"required":["id","name","description","secrets","project_id","created_at","updated_at","type"]},"SecretListResp":{"description":"查询密钥列表返回结构体。","properties":{"count":{"description":"满足条件的个数","format":"int32","type":"integer"},"secrets":{"description":"密钥","items":{"$ref":"#/definitions/SecretDetailResp"},"type":"array"}},"required":["secrets","count"]}},"description":null,"group_id":"cdaa2d3f4fbb4dc38b6a6c55f9222ed9","host":"ief.cn-north-4.myhuaweicloud.com","id":"9759d12394ad45e38f57302de29f023f","info_version":"v1","method":"get","name":"ListSecrets","parameters":{"Content-Type":{"description":"消息体的类型(格式),默认取值为“application/json”","in":"header","name":"Content-Type","required":true,"type":"string"},"IEF-Instance-Id":{"description":"铂金版实例ID,专业版实例为空值","in":"header","name":"ief-instance-id","required":false,"type":"string"},"X-Auth-Token":{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."}},"paths":{"/v2/{project_id}/edgemgr/secrets":{"get":{"consumes":["application/json"],"description":"查询密钥列表","operationId":"ListSecrets","parameters":[{"$ref":"#/parameters/Content-Type"},{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/IEF-Instance-Id"},{"description":"项目ID","in":"path","name":"project_id","required":true,"type":"string"},{"description":"密钥名称,模糊匹配","in":"query","name":"name","required":false,"type":"string"},{"description":"每页显示的条目数量,取值范围1~1000,默认值为1000。","in":"query","name":"limit","required":false,"type":"string"},{"description":"查询的起始位置,取值范围为非负整数,默认为0","in":"query","name":"offset","required":false,"type":"string"},{"description":"排序方式,可根据名称、创建时间、更新时间排序\n枚举值:\n- name\n- created_at\n- updated_at\n默认升序,如sort=name,降序:sort=name%3Adesc","in":"query","name":"sort","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"ok","examples":{"application/json":{"count":1,"secrets":[{"created_at":"2018-07-16T13:41:25.347335","description":"this is a test secret","id":"12ns9eb6cc0d49a0941df2f31283mds8 ","name":"test-secret","project_id":"d16e6eb6cc0d49a0941df2f31285757a","secrets":{"key1":"val1","key3":"val3"},"type":"Opaque","updated_at":"2018-07-19T13:41:25.347335"}]}},"schema":{"$ref":"#/definitions/SecretListResp"}}},"summary":"查询密钥列表","tags":["密钥管理"],"x-is-registered":"Y","x-publishpath":"ief_02_0095","x-support-sdk":"Y"}}},"product_short":"IEF","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询密钥列表","tags":"密钥管理","uri":null,"version":"2.0"}