@inventorjs/sls-core
TypeScript icon, indicating that this package has built-in type declarations

0.0.16 • Public • Published

临时密钥授权语法

推荐采用临时密钥限制资源的方式,对 stage 进行授权,实现多用户安全开发接口文档地址

{
  "version": "2.0",
  "statement": [
    {
      "effect": "allow",
      "action": [
        "sls:RunComponent",
        "sls:GetInstance",
        "sls:ListInstances"
      ],
      "resource": [
        "qcs::sls:${region}:uin/${uin}:appname/${app}/stagename/${stage}"
      ]
    }
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @inventorjs/sls-core

Weekly Downloads

0

Version

0.0.16

License

MIT

Unpacked Size

61.7 kB

Total Files

25

Last publish

Collaborators

  • sunkeysun