infisical-access-control

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Infisical 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
infisical-sso
A machine identity and its auth method
infisical-setup
Approval before using a privileged infrastructure account, with session recording
infisical-pam
Approval before issuing a certificate
infisical-pki
Approval before signing an artifact
infisical-pki
— Code Signing
Roles on PAM folders/accounts specifically
infisical-pam
Roles on PKI Applications or Signers specifically
infisical-pki
Note the split:
infisical-sso
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.
PAM 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)或自动预配用户
infisical-sso
机器身份及其认证方法
infisical-setup
使用特权基础设施账户前的审批及会话录制
infisical-pam
颁发证书前的审批
infisical-pki
签署工件前的审批
infisical-pki
— 代码签名
专门针对PAM文件夹/账户的角色
infisical-pam
专门针对PKI应用或签名者的角色
infisical-pki
请注意区分:
infisical-sso
决定谁能进入以及他们的身份;本技能决定他们进入后可以做什么。如果用户询问SCIM组预配,属于SSO范畴——但这些组映射的角色属于本技能范畴。
PAM和PKI有各自的产品级角色模型(管理员/连接器/审计员,管理员/操作员/审计员)。关于这些产品的角色问题,请引导至对应的技能。

How to use this skill

如何使用本技能

  1. Start from the least-privilege question: what is the smallest thing this principal needs?
  2. Reach for a built-in role first — custom roles are maintenance
  3. Use granular secret actions where "can read the value" is too much
  4. Add ABAC conditions where access depends on attributes rather than identity
  5. Prefer temporary over permanent for anything sensitive
  6. Gate changes with approval policies where a mistake is expensive
  7. Stream audit logs to wherever the security team already looks
  1. 从最小权限问题出发:该主体需要的最小权限是什么?
  2. 优先使用内置角色——自定义角色会增加维护成本
  3. 在“读取值”权限过高时,使用细粒度密钥操作
  4. 当访问取决于属性而非身份时,添加ABAC条件
  5. 对于任何敏感操作,优先使用临时访问而非永久访问
  6. 当错误代价高昂时,通过审批策略控制变更
  7. 将审计日志流式传输到安全团队已在使用的任何平台

Reference files

参考文件

FileWhen to read
references/roles-and-permissions.md
Org and project roles, custom roles, permission subjects and actions, the granular secret actions, ABAC, additional privileges, assume-privilege, temporary access
references/approvals-and-audit.md
Change-approval and access-approval policies, access requests, audit logs, audit log streams and their 6 providers
文件何时查阅
references/roles-and-permissions.md
组织与项目角色、自定义角色、权限主体与操作、细粒度密钥操作、ABAC、额外权限、assume-privilege、临时访问
references/approvals-and-audit.md
变更审批与访问审批策略、访问请求、审计日志、审计日志流及其6个提供商

Guiding principles

指导原则

  • read
    on secrets is coarser than people expect.
    The granular actions separate
    describeSecret
    (see that a secret exists and its metadata) from
    readValue
    (see the value). The legacy
    read
    grants both. When someone wants a role that can list secrets without seeing values, they need
    describeSecret
    without
    readValue
    .
  • Assign roles to groups, not people. Then joiners and leavers are handled by the identity provider. See
    infisical-sso
    for group provisioning.
  • 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.
  • no-access
    is a real role.
    Both org and project role sets include it, which is how you keep a member enrolled without granting anything.
  • 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中读取。
  • 切勿为了消除错误而放宽权限。 如果用户遇到权限错误,请找出具体缺少的主体/操作,而不是建议授予管理员权限。