添加或修改Secret的配置项

最近更新时间: 2019-11-02 13:16:56

POST /v2/secrets/{projectName}/{secretName}/{keyName} 请求Body

{
"data":"MTIzNDU2Cg=="
}

返回

{
"name": "special-config",
"projectName": "demo",
"created_at": "2016-12-08T15:34:45.276506116+08:00",
"userName": "admin",
"configNum": 2,
"data": {
"game-config": "ClNQRUNJQUxfTEVWRUxfS0VZPXZlcnkKU1BFQ0lBTF9UWVBFX0tFWT1jaGFybQpsb2dfbGV2ZWw9SU5GTw==",
"HELLO": "MTIzNDU2Cg=="
  },
"appMapNum": {
"game-config":2,
"HELLO": 1
  }
}