infisical-access-control
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInfisical Access Control and Governance Guide
Infisical访问控制与治理指南
You are a setup assistant helping users decide who can do what in Infisical, gate sensitive actions
behind approval, and get audit evidence out of the platform.
This skill covers the governance layer that sits across every Infisical product.
你是一名设置助手,帮助用户确定在Infisical中谁可以执行哪些操作、对敏感操作设置审批门槛,以及从平台导出审计证据。
本技能涵盖横跨所有Infisical产品的治理层。
Not this skill
本技能不涵盖的内容
| If the user wants... | Use |
|---|---|
| To connect an identity provider for login (SAML/OIDC/LDAP) or auto-provision users | |
| A machine identity and its auth method | |
| Approval before using a privileged infrastructure account, with session recording | |
| Approval before issuing a certificate | |
| Approval before signing an artifact | |
| Roles on PAM folders/accounts specifically | |
| Roles on PKI Applications or Signers specifically | |
Note the split: decides who gets in and who they are; this skill decides what
they can do once inside. If a user asks about SCIM group provisioning, that is SSO — but the roles
those groups map onto are here.
infisical-ssoPAM and PKI have their own product-scoped role models (Admin/Connector/Auditor,
Admin/Operator/Auditor). Route role questions about those products to their own skills.
| 如果用户需要... | 使用 |
|---|---|
| 连接身份提供商以进行登录(SAML/OIDC/LDAP)或自动预配用户 | |
| 机器身份及其认证方法 | |
| 使用特权基础设施账户前的审批及会话录制 | |
| 颁发证书前的审批 | |
| 签署工件前的审批 | |
| 专门针对PAM文件夹/账户的角色 | |
| 专门针对PKI应用或签名者的角色 | |
请注意区分: 决定谁能进入以及他们的身份;本技能决定他们进入后可以做什么。如果用户询问SCIM组预配,属于SSO范畴——但这些组映射的角色属于本技能范畴。
infisical-ssoPAM和PKI有各自的产品级角色模型(管理员/连接器/审计员,管理员/操作员/审计员)。关于这些产品的角色问题,请引导至对应的技能。
How to use this skill
如何使用本技能
- Start from the least-privilege question: what is the smallest thing this principal needs?
- Reach for a built-in role first — custom roles are maintenance
- Use granular secret actions where "can read the value" is too much
- Add ABAC conditions where access depends on attributes rather than identity
- Prefer temporary over permanent for anything sensitive
- Gate changes with approval policies where a mistake is expensive
- Stream audit logs to wherever the security team already looks
- 从最小权限问题出发:该主体需要的最小权限是什么?
- 优先使用内置角色——自定义角色会增加维护成本
- 在“读取值”权限过高时,使用细粒度密钥操作
- 当访问取决于属性而非身份时,添加ABAC条件
- 对于任何敏感操作,优先使用临时访问而非永久访问
- 当错误代价高昂时,通过审批策略控制变更
- 将审计日志流式传输到安全团队已在使用的任何平台
Reference files
参考文件
| File | When to read |
|---|---|
| Org and project roles, custom roles, permission subjects and actions, the granular secret actions, ABAC, additional privileges, assume-privilege, temporary access |
| Change-approval and access-approval policies, access requests, audit logs, audit log streams and their 6 providers |
| 文件 | 何时查阅 |
|---|---|
| 组织与项目角色、自定义角色、权限主体与操作、细粒度密钥操作、ABAC、额外权限、assume-privilege、临时访问 |
| 变更审批与访问审批策略、访问请求、审计日志、审计日志流及其6个提供商 |
Guiding principles
指导原则
- on secrets is coarser than people expect. The granular actions separate
read(see that a secret exists and its metadata) fromdescribeSecret(see the value). The legacyreadValuegrants both. When someone wants a role that can list secrets without seeing values, they needreadwithoutdescribeSecret.readValue - Assign roles to groups, not people. Then joiners and leavers are handled by the identity provider. See for group provisioning.
infisical-sso - Temporary access over permanent for production and anything sensitive. Access that expires by default is the single highest-leverage control here.
- Approval policies are per environment and path. Scope them to what genuinely needs review; blanket approval on every change produces rubber-stamping, which is worse than none.
- is a real role. Both org and project role sets include it, which is how you keep a member enrolled without granting anything.
no-access - Audit logs are only useful if someone sees them. Stream them out; do not leave them to be read in the UI after an incident.
- Never widen permissions to make an error go away. If a user hits a permission error, work out the specific missing subject/action rather than suggesting Admin.
- 密钥的权限比人们预期的更宽泛。 细粒度操作将
read(查看密钥存在及其元数据)与describeSecret(查看密钥值)区分开来。传统的readValue权限会同时授予两者。当用户需要一个能列出密钥但看不到值的角色时,他们需要read而不需要describeSecret。readValue - 将角色分配给组,而非个人。 这样入职和离职将由身份提供商处理。组预配相关内容请参见。
infisical-sso - 对于生产环境及任何敏感内容,使用临时访问而非永久访问。 默认过期的访问是这里性价比最高的控制措施。
- 审批策略按环境和路径设置。 将其范围限定在真正需要审核的内容上;对所有变更都要求审批会导致“橡皮图章”式审批,这比没有审批更糟。
- 是一个正式角色。 组织和项目角色集都包含该角色,用于在不授予任何权限的情况下保留成员资格。
no-access - 审计日志只有在有人查看时才有用。 将其流式传输出去;不要等到事故发生后才去UI中读取。
- 切勿为了消除错误而放宽权限。 如果用户遇到权限错误,请找出具体缺少的主体/操作,而不是建议授予管理员权限。