知识卡片
专用函数可绑定执行角色
专用函数在部署时配置限定租户资源的执行角色,可避免每次请求动态获取凭证。相同代码若也用于共享部署,访问辅助层要区分已绑定角色与动态凭证路径;不能在共享路径意外回退到宽权限默认客户端。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Serverless SaaS: Architecture Patterns and Strategies · 查看原书依据
to each of the functions in that microservice. This execution role references the policy that you see at the bottom right of the diagram. This policy restricts this function’s access to the Order_Tenant1 table. Any attempt to access another tenant’s table will be denied.
参考来源
- 位置:《Building Multi-Tenant SaaS Architectures》第11章《Serverless SaaS: Architecture Patterns and Strategies》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch11.html)
- 结论依据:原文具体说明专用函数在部署时配置限定租户资源的执行角色,可避免每次请求动态获取凭证;本卡据此归纳机制及适用边界。
- 原始内容:to each of the functions in that microservice. This execution role references the policy that you see at the bottom right of the diagram. This policy restricts this function’s access to the Order_Tenant1 table. Any attempt to access another tenant’s table will be denied.