创建Secret

最近更新时间: 2019-11-02 13:20:06

根据指定的内容创建Secret POST /v2/secrets/{projectName} 请求Body

{
"name": "special-config",
"data":{
"game-config":"ClNQRUNJQUxfTEVWRUxfS0VZPXZlcnkKU1BFQ0lBTF9UWVBFX0tFWT1jaGFybQpsb2dfbGV2ZWw9SU5GTw==",
"HELLO":"MjIyMjIyCg=="
  }    
}

返回

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