Infisical CLI
secrets.infisical
Protects against deleting Infisical secrets, folders, and dynamic-secret leases, plus resetting local Infisical configuration.
- 4blocking rules
- 0safe patterns
- 1Critical
- 3High
[packs]
enabled = ["secrets.infisical"]Evaluated when a command contains infisical.
Blocking rules
Each rule ID is secrets.infisical:<name>. Use it in allowlists and [policy.rules].
Criticalinfisical-folders-deleteinfisical secrets folders delete removes a secrets folder.
Explanation
Deleting a secrets folder can remove or orphan a whole subtree used by multiple applications. List the folder and its consumers before approving deletion.
Highinfisical-dynamic-lease-deleteinfisical dynamic-secrets lease delete revokes a live dynamic-secret lease.
Explanation
Deleting a dynamic-secret lease revokes credentials that a running service may still be using. Identify the lease owner and rotate the consumer first.
Highinfisical-resetinfisical reset clears local Infisical-generated configuration data.
Explanation
Resetting the CLI removes its generated local configuration and authentication state. Inspect the current configuration and preserve any needed connection details before resetting it.
Highinfisical-secrets-deleteinfisical secrets delete removes one or more stored secrets.
Explanation
Deleting a secret can immediately break applications and automation that depend on its value. Export an inventory of secret names and confirm every consumer before deletion.