{"_id":"qcloud-cos-sts","_rev":"2971910","name":"qcloud-cos-sts","description":"## 安装方法","dist-tags":{"latest":"3.1.0"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"time":{"modified":"2023-06-08T07:00:51.000Z","created":"2018-05-21T08:52:19.803Z","3.1.0":"2022-04-15T08:47:27.233Z","3.0.6":"2021-04-23T05:22:54.703Z","3.0.5":"2021-04-23T04:47:42.960Z","3.0.4":"2021-04-23T04:46:02.017Z","3.0.3":"2021-03-25T04:38:37.899Z","3.0.2":"2019-08-16T12:57:19.678Z","3.0.1":"2019-08-07T09:40:34.303Z","3.0.0":"2019-06-28T11:59:13.310Z","2.0.7":"2018-12-28T07:00:18.666Z","2.0.6":"2018-12-19T09:36:29.007Z","2.0.5":"2018-12-06T13:36:36.375Z","2.0.4":"2018-12-06T12:41:48.442Z","2.0.3":"2018-12-06T12:35:22.010Z","2.0.2":"2018-12-06T12:03:04.236Z","2.0.1":"2018-12-06T11:52:14.797Z","2.0.0":"2018-12-06T11:49:33.883Z","1.0.0":"2018-05-21T08:52:19.803Z"},"users":{},"author":{"name":"wjielai@tencent.com"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"versions":{"3.1.0":{"name":"qcloud-cos-sts","version":"3.1.0","description":"## 安装方法","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@3.1.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"02e3198b5c2b100b87182414edcd3fce98c592a0","size":7303,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-3.1.0.tgz"},"_npmUser":{"name":"tianfeng","email":"enter1994@qq.com"},"directories":{},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_3.1.0_1650012446813_0.6490729157223678"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-15T08:47:39.612Z","publish_time":1650012447233,"_cnpm_publish_time":1650012447233},"3.0.6":{"name":"qcloud-cos-sts","version":"3.0.6","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@3.0.6","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"8993df432e090653ada7c92a57cf95e2a3cf2af1","size":6731,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-3.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-3.0.6.tgz"},"directories":{},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_3.0.6_1619155374504_0.10339852370908553"},"_hasShrinkwrap":false,"publish_time":1619155374703,"_cnpm_publish_time":1619155374703,"_cnpmcore_publish_time":"2021-12-16T11:45:26.117Z"},"3.0.5":{"name":"qcloud-cos-sts","version":"3.0.5","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@3.0.5","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"1dc52a1434c4b868f734417f661d7e7a4da06b50","size":6733,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-3.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-3.0.5.tgz"},"directories":{},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_3.0.5_1619153262828_0.4249254943406118"},"_hasShrinkwrap":false,"publish_time":1619153262960,"_cnpm_publish_time":1619153262960,"_cnpmcore_publish_time":"2021-12-16T11:45:26.438Z"},"3.0.4":{"name":"qcloud-cos-sts","version":"3.0.4","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@3.0.4","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"234b00ecc50943d3e8c270ffe7b429ddb5faaedd","size":6242,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-3.0.4.tgz"},"directories":{},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_3.0.4_1619153161873_0.553856005185946"},"_hasShrinkwrap":false,"publish_time":1619153162017,"_cnpm_publish_time":1619153162017,"_cnpmcore_publish_time":"2021-12-16T11:45:26.662Z"},"3.0.3":{"name":"qcloud-cos-sts","version":"3.0.3","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@3.0.3","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"a2b7b35fa49807b168ebec6049506cb03f76a722","size":6208,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-3.0.3.tgz"},"directories":{},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_3.0.3_1616647117720_0.42944525901566855"},"_hasShrinkwrap":false,"publish_time":1616647117899,"_cnpm_publish_time":1616647117899,"_cnpmcore_publish_time":"2021-12-16T11:45:26.917Z"},"3.0.2":{"name":"qcloud-cos-sts","version":"3.0.2","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@3.0.2","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"shasum":"a2da3d4e98bdce9040b2f3f8dd8df9774109385c","size":7947,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-3.0.2.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_3.0.2_1565960239546_0.7421816554290614"},"_hasShrinkwrap":false,"publish_time":1565960239678,"_cnpm_publish_time":1565960239678,"_cnpmcore_publish_time":"2021-12-16T11:45:27.521Z"},"3.0.1":{"name":"qcloud-cos-sts","version":"3.0.1","description":"## 安装方法","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@3.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"gouki0123","email":"gouki0123@gmail.com"},"dist":{"shasum":"5da3e153184e79a873855bb35668ed688111cb3d","size":6186,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-3.0.1.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_3.0.1_1565170834181_0.098746493667903"},"_hasShrinkwrap":false,"publish_time":1565170834303,"_cnpm_publish_time":1565170834303,"_cnpmcore_publish_time":"2021-12-16T11:45:27.742Z"},"3.0.0":{"name":"qcloud-cos-sts","version":"3.0.0","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@3.0.0","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"shasum":"634a40f9a1982e27b589225eeca08bed8ee4c53f","size":5544,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-3.0.0.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_3.0.0_1561723153177_0.7522887148628581"},"_hasShrinkwrap":false,"publish_time":1561723153310,"_cnpm_publish_time":1561723153310,"_cnpmcore_publish_time":"2021-12-16T11:45:27.995Z"},"2.0.7":{"name":"qcloud-cos-sts","version":"2.0.7","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@2.0.7","_npmVersion":"6.4.1","_nodeVersion":"11.5.0","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"92692c87d7c2cb7867fd473955dd66d67b9d8a64","size":5430,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-2.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-2.0.7.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_2.0.7_1545980418526_0.9262850492220656"},"_hasShrinkwrap":false,"publish_time":1545980418666,"_cnpm_publish_time":1545980418666,"_cnpmcore_publish_time":"2021-12-16T11:45:28.218Z"},"2.0.6":{"name":"qcloud-cos-sts","version":"2.0.6","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@2.0.6","_shasum":"6d620f30ff081f1a75dcfdab1d512f5f9b963a00","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"6d620f30ff081f1a75dcfdab1d512f5f9b963a00","size":5170,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-2.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-2.0.6.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_2.0.6_1545212188901_0.7185056713217965"},"_hasShrinkwrap":false,"publish_time":1545212189007,"_cnpm_publish_time":1545212189007,"_cnpmcore_publish_time":"2021-12-16T11:45:28.409Z"},"2.0.5":{"name":"qcloud-cos-sts","version":"2.0.5","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@2.0.5","_shasum":"5462f98d8698dd809bf7f7a5b7a1772e27d84e3d","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"5462f98d8698dd809bf7f7a5b7a1772e27d84e3d","size":4908,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-2.0.5.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_2.0.5_1544103396232_0.2156356872872518"},"_hasShrinkwrap":false,"publish_time":1544103396375,"_cnpm_publish_time":1544103396375,"_cnpmcore_publish_time":"2021-12-16T11:45:28.614Z"},"2.0.4":{"name":"qcloud-cos-sts","version":"2.0.4","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@2.0.4","_shasum":"70d2342d265e022055f0d00b1e917657f344dabc","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"70d2342d265e022055f0d00b1e917657f344dabc","size":4856,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-2.0.4.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_2.0.4_1544100108293_0.12604167213725592"},"_hasShrinkwrap":false,"publish_time":1544100108442,"_cnpm_publish_time":1544100108442,"_cnpmcore_publish_time":"2021-12-16T11:45:28.825Z"},"2.0.3":{"name":"qcloud-cos-sts","version":"2.0.3","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@2.0.3","_shasum":"8045e2e3935f14ebdd66f335401628d54386a195","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"8045e2e3935f14ebdd66f335401628d54386a195","size":4839,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-2.0.3.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_2.0.3_1544099721892_0.2690410700897512"},"_hasShrinkwrap":false,"publish_time":1544099722010,"_cnpm_publish_time":1544099722010,"_cnpmcore_publish_time":"2021-12-16T11:45:29.043Z"},"2.0.2":{"name":"qcloud-cos-sts","version":"2.0.2","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@2.0.2","_shasum":"11bfd7dc8c01d5b9a62f1c69c18e6e49ce74e8a5","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"11bfd7dc8c01d5b9a62f1c69c18e6e49ce74e8a5","size":4832,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-2.0.2.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_2.0.2_1544097784120_0.926480591950936"},"_hasShrinkwrap":false,"publish_time":1544097784236,"_cnpm_publish_time":1544097784236,"_cnpmcore_publish_time":"2021-12-16T11:45:29.253Z"},"2.0.1":{"name":"qcloud-cos-sts","version":"2.0.1","description":"```cmd\r npm i qcloud-cos-sts --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@2.0.1","_shasum":"645728c6094e2549ac677ac76b24e835334d0baa","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"645728c6094e2549ac677ac76b24e835334d0baa","size":4846,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-2.0.1.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_2.0.1_1544097134458_0.41909304436913164"},"_hasShrinkwrap":false,"publish_time":1544097134797,"_cnpm_publish_time":1544097134797,"_cnpmcore_publish_time":"2021-12-16T11:45:29.739Z"},"2.0.0":{"name":"qcloud-cos-sts","version":"2.0.0","description":"```cmd\r npm i cos-sts-sdk --save\r ```","main":"index.js","scripts":{"demo":"node demo/demo","sts-server":"node demo/sts-server","sts-server-scope":"node demo/sts-server-scope"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"request":"^2.88.0"},"devDependencies":{"body-parser":"^1.18.3","express":"^4.16.4"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@2.0.0","_shasum":"0056bf300183abf90fcb1017854191c2f09ddb13","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"carsonxu","email":"itingyu@qq.com"},"dist":{"shasum":"0056bf300183abf90fcb1017854191c2f09ddb13","size":4849,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-2.0.0.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_2.0.0_1544096973324_0.46905806983298226"},"_hasShrinkwrap":false,"publish_time":1544096973883,"_cnpm_publish_time":1544096973883,"_cnpmcore_publish_time":"2021-12-16T11:45:29.952Z"},"1.0.0":{"name":"qcloud-cos-sts","version":"1.0.0","description":"[Nodejs SDK 下载>>](https://github.com/tencentyun/tac-storage-sts-sdk)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/qcloud-cos-sts-sdk.git"},"author":{"name":"wjielai@tencent.com"},"license":"MIT","dependencies":{"http-proxy-agent":"^2.1.0","https-proxy-agent":"^2.2.1","request":"^2.86.0","request-debug":"^0.2.0"},"devDependencies":{"mocha":"^5.1.1"},"bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","_id":"qcloud-cos-sts@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"gouki0123","email":"gouki0123@gmail.com"},"dist":{"shasum":"010ff4b800e44357638b61a3770d4579b02ec813","size":2417,"noattachment":false,"key":"/qcloud-cos-sts/-/qcloud-cos-sts-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/qcloud-cos-sts/download/qcloud-cos-sts-1.0.0.tgz"},"maintainers":[{"name":"carsonxu","email":""},{"name":"galenyip","email":""},{"name":"tianfeng","email":""},{"name":"yinshawnrao","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qcloud-cos-sts_1.0.0_1526892739735_0.5443617978025685"},"_hasShrinkwrap":false,"publish_time":1526892739803,"_cnpm_publish_time":1526892739803,"_cnpmcore_publish_time":"2021-12-16T11:45:30.536Z"}},"readme":"# qcloud-cos-sts\n\n## 安装方法\n\n```cmd\nnpm i qcloud-cos-sts --save\n```\n\n## 调用示例\n\n请查看 [demo](https://github.com/tencentyun/qcloud-cos-sts-sdk/blob/master/nodejs/demo/demo.js) 里的示例。\n\n## 接口说明\n\n### `getCredential`\n\n获取临时密钥接口(获取联合身份临时访问凭证)。\n\n#### 参数说明\n\n| 字段 | 类型 | 描述 | 必选 |\n| ---- | ---- | ---- | ---- |\n| options | Object | 表示当客户端的请求，最少需要什么样的权限，是一个键值对象的数组 | 是 |\n| - secretId | String | 云 API 密钥 Id | 是 |\n| - secretKey | String | 云 API 密钥 Key | 是 |\n| - policy | Object | 要申请的临时密钥，限定的权限范围 | 是 |\n| - durationSeconds | Number | 要申请的临时密钥最长有效时间，单位秒，默认 1800，最大可设置 7200  | 否 |\n| - proxy | String | 代理地址，如：\"http://proxy.example.com:8080\" | 否 |\n| - host | String | 可以通过改参数指定请求的域名 | 否 |\n| - endpoint | String | 作用与host参数相同，二者选一即可 | 否 |\n| callback | Function | 临时密钥获取完成后的回调方法 | 是 |\n\n#### 返回值说明\n\n| 字段 | 类型 | 描述 |\n| ---- | ---- | ---- |\n| err | Object | 错误信息 |\n| data | Object | 返回的临时密钥内容 |\n| - startTime | Number | 密钥的起始时间，是 UNIX 时间戳 |\n| - expiredTime | Number | 密钥的失效时间，是 UNIX 时间戳 |\n| - credentials | String | 云API |\n| - - tmpSecretId | String | 临时密钥 Id，可用于计算签名 |\n| - - tmpSecretKey | String | 临时密钥 Key，可用于计算签名 |\n| - - sessionToken | String | 请求时需要用的 token 字符串，最终请求 COS API 时，需要放在 Header 的 x-cos-security-token 字段 |\n\n#### 返回示例\n\n```json\n{\n    \"credentials\": {\n        \"tmpSecretId\": \"AKIDEPMQB_Q9Jt2fJxXyIekOzKZzx-sdGQgBga4TzsUdTWL9xlvsjInOHhCYFqfoKOY4\",\n        \"tmpSecretKey\": \"W/3Lbl1YEW02mCoawIesl5kNehSskrSbp1cT1tgW70g=\",\n        \"sessionToken\": \"c6xnSYAxyFbX8Y50627y9AA79u6Qfucw6924760b61588b79fea4c277b01ba157UVdr_10Y30bdpYtO8CXedYZe3KKZ_DyzaPiSFfNAcbr2MTfAgwJe-dhYhfyLMkeCqWyTNF-rOdOb0rp4Gto7p4yQAKuIPhQhuDd77gcAyGakC2WXHVd6ZuVaYIXBizZxqIHAf4lPiLHa6SZejSQfa_p5Ip2U1cAdkEionKbrX97xTKTcA_5Pu525CFSzHZIQibc2uNMZ-IRdQp12MaXZB6bxM6nB4xXH45mDIlbIGjaAsrtRJJ3csmf82uBKaJrYQoguAjBepMH91WcH87LlW9Ya3emNfVX7NMRRf64riYd_vomGF0TLgan9smEKAOdtaL94IkLvVJdhLqpvjBjp_4JCdqwlFAixaTzGJHdJzpGWOh0mQ6jDegAWgRYTrJvc5caYTz7Vphl8XoX5wHKKESUn_vqyTAid32t0vNYE034FIelxYT6VXuetYD_mvPfbHVDIXaFt7e_O8hRLkFwrdAIVaUml1mRPvccv2qOWSXs\"\n    },\n    \"expiration\": \"2019-08-07T08:54:35Z\",\n    \"startTime\": 1565166275,\n    \"expiredTime\": 1565168075,\n    \"requestId\":\"3f8f5f69-1929-4f8f-9e47-ee0426a880ae\"\n}\n```\n\n### `getRoleCredential`\n\n获取临时密钥接口(申请扮演角色)。\n\n#### 参数说明\n\n| 字段 | 类型 | 描述 | 必选 |\n| ---- | ---- | ---- | ---- |\n| options | Object | 表示当客户端的请求，最少需要什么样的权限，是一个键值对象的数组 | 是 |\n| - secretId | String | 云 API 密钥 Id | 是 |\n| - secretKey | String | 云 API 密钥 Key | 是 |\n| - policy | Object | 要申请的临时密钥，限定的权限范围 | 是 |\n| - roleArn | String | 角色的资源描述,[参考文档](https://cloud.tencent.com/document/product/1312/48197) | 是 |\n| - durationSeconds | Number | 要申请的临时密钥最长有效时间，单位秒，默认 1800，最大可设置 7200  | 否 |\n| - proxy | String | 代理地址，如：\"http://proxy.example.com:8080\" | 否 |\n| - host | String | 可以通过改参数指定请求的域名 | 否 |\n| - endpoint | String | 作用与host参数相同，二者选一即可 | 否 |\n| callback | Function | 临时密钥获取完成后的回调方法 | 是 |\n\n#### 返回值说明\n\n| 字段 | 类型 | 描述 |\n| ---- | ---- | ---- |\n| err | Object | 错误信息 |\n| data | Object | 返回的临时密钥内容 |\n| - startTime | Number | 密钥的起始时间，是 UNIX 时间戳 |\n| - expiredTime | Number | 密钥的失效时间，是 UNIX 时间戳 |\n| - credentials | String | 云API |\n| - - tmpSecretId | String | 临时密钥 Id，可用于计算签名 |\n| - - tmpSecretKey | String | 临时密钥 Key，可用于计算签名 |\n| - - sessionToken | String | 请求时需要用的 token 字符串，最终请求 COS API 时，需要放在 Header 的 x-cos-security-token 字段 |\n\n#### 返回示例\n\n```json\n{\n    \"credentials\": {\n        \"tmpSecretId\": \"AKIDEPMQB_Q9Jt2fJxXyIekOzKZzx-sdGQgBga4TzsUdTWL9xlvsjInOHhCYFqfoKOY4\",\n        \"tmpSecretKey\": \"W/3Lbl1YEW02mCoawIesl5kNehSskrSbp1cT1tgW70g=\",\n        \"sessionToken\": \"c6xnSYAxyFbX8Y50627y9AA79u6Qfucw6924760b61588b79fea4c277b01ba157UVdr_10Y30bdpYtO8CXedYZe3KKZ_DyzaPiSFfNAcbr2MTfAgwJe-dhYhfyLMkeCqWyTNF-rOdOb0rp4Gto7p4yQAKuIPhQhuDd77gcAyGakC2WXHVd6ZuVaYIXBizZxqIHAf4lPiLHa6SZejSQfa_p5Ip2U1cAdkEionKbrX97xTKTcA_5Pu525CFSzHZIQibc2uNMZ-IRdQp12MaXZB6bxM6nB4xXH45mDIlbIGjaAsrtRJJ3csmf82uBKaJrYQoguAjBepMH91WcH87LlW9Ya3emNfVX7NMRRf64riYd_vomGF0TLgan9smEKAOdtaL94IkLvVJdhLqpvjBjp_4JCdqwlFAixaTzGJHdJzpGWOh0mQ6jDegAWgRYTrJvc5caYTz7Vphl8XoX5wHKKESUn_vqyTAid32t0vNYE034FIelxYT6VXuetYD_mvPfbHVDIXaFt7e_O8hRLkFwrdAIVaUml1mRPvccv2qOWSXs\"\n    },\n    \"expiration\": \"2019-08-07T08:54:35Z\",\n    \"startTime\": 1565166275,\n    \"expiredTime\": 1565168075,\n    \"requestId\":\"3f8f5f69-1929-4f8f-9e47-ee0426a880ae\"\n}\n```\n\n### `getPolicy`\n\n获取 policy 接口。本接口适用于接收 Web、iOS、Android 客户端 SDK 提供的 Scope 参数。推荐您把 Scope 参数放在请求的 Body 里面，通过 POST 方式传到后台。\n\n#### 参数说明\n\n| 字段 | 类型 | 描述 | 必选 |\n| ---- | ---- | ---- | ---- |\n| scope | ObjectArray | 表示当客户端的请求，最少需要什么样的权限，是一个键值对象的数组 | 是 |\n| - action | String | 操作名称，如 \"name/cos:PutObject\" | 是 |\n| - bucket | String | 存储桶名称，格式：test-1250000000 | 是 |\n| - region | String | 园区名称，如 ap-guangzhou | 是 |\n| - prefix | String | 拼接 resource 字段所需的 key 前缀，客户端 SDK 默认传固定文件名如 \"dir/1.txt\"，支持 * 结尾如 \"dir/*\" | 是 |\n\n#### 返回值说明\n\n| 字段 | 类型 | 描述 |\n| ---- | ---- | ---- |\n| policy | Object | 申请临时密钥所需的权限策略 |\n\npolicy 具体格式请看 [文档](https://cloud.tencent.com/document/product/436/31923)\n\n#### 返回示例\n\n```json\n{\n    \"version\": \"2.0\",\n    \"statement\": [{\n        \"action\": [\n            \"name/cos:PutObject\",\n        ],\n        \"effect\": \"allow\",\n        \"principal\": {\"qcs\": [\"*\"]},\n        \"resource\": [\n            \"qcs::cos:ap-guangzhou:uid/1250000000:prefix//1250000000/test/exampleobject\"\n        ]\n    }]\n}\n```\n\n## 更多示例\n\n* `demo/demo.js` 是调用例子\n* `demo/sts-server.js` 是临时密钥服务的例子\n* `demo/sts-server-scope.js` 是临时密钥服务的例子，可以细粒度控制权限\n\n您可以直接使用 `demo/sts-server.js` 或者 `demo/sts-server-scope.js`，修改配置参数，来搭建本地密钥服务器。\n\n## 相关 SDK\n\n* [cos-js-sdk-v5](https://github.com/tencentyun/cos-js-sdk-v5)\n* [cos-nodejs-sdk-v5](https://github.com/tencentyun/cos-nodejs-sdk-v5)\n","_attachments":{},"homepage":"https://github.com/tencentyun/qcloud-cos-sts-sdk#readme","bugs":{"url":"https://github.com/tencentyun/qcloud-cos-sts-sdk/issues"},"license":"MIT"}