云容器实例 CCI-创建Secret:响应示例

时间:2024-11-06 15:35:41

响应示例

状态码: 201

Created

{
  "apiVersion" : "v1",
  "data" : {
    "key1" : "MWYyZDFlMmU2N2Rm",
    "key2" : "YWRtaW4="
  },
  "kind" : "Secret",
  "metadata" : {
    "creationTimestamp" : "2018-09-04T03:59:19Z",
    "name" : "secret-test",
    "namespace" : "namespace-test",
    "resourceVersion" : "5177770",
    "selfLink" : "/api/v1/namespaces/namespace-test/secrets/secret-test",
    "uid" : "e6170b6d-aff6-11e8-8f17-c81fbe371a17"
  },
  "type" : "Opaque"
}
support.huaweicloud.com/api-cci/createCoreV1NamespacedSecret.html