What is AgentSecrets?
The Zero-Knowledge Difference
How AgentSecrets Works
Installation
Quick Start
Migrating from .env Files
Migrating from Vault / AWS
Migrating from dotenv-vault
Production Checklist
Credential Exposure
What Zero-Knowledge Means
The Proxy Model
The Three-Layer Model
Environments
Agent Identity
Storage Modes
The No get() Principle
Secret-Level Policies
Cloud Overview & Architecture
The Dual-Engine Model
Cloud Resolver Data Plane
Workload & Agent Tokens
Egress Allowlists & Audit Streams
Cloud REST API Reference
Account (init / login)
Server & Self-Hosting (server)
Docs
Shell Autocompletion
Keychain Auth
Secrets
Environments
Credential Proxy
env Injection
Workspaces & Teams
Projects
Agent Identity
Audit & Governance
Integrations Overview
Claude Desktop
Cursor
OpenClaw
HTTP Proxy (Any)
LangChain (Soon)
CrewAI (Soon)
CI/CD Pipeline
SDK Overview
Python SDK
Python API Reference
Python SDK Manual Testing
JavaScript SDK (Soon)
Ecosystem Overview
Zero-Knowledge MCP Server
Server Overview
5-Layer Architecture
Self-Hosting Guide
Authentication & Keys
Workspaces & Teams
Projects & Scope
Environments
Secrets & Sync Protocol
Agent Identity Resolution
Telemetry & Metrics Engine
Audit Log Sync
API Endpoint Reference
Security Overview
Anti-Impersonation & Process Verification
Encryption Model
Zero-Knowledge Sync
Proxy Security Layers
Threat Model
OWASP Top 10 Mitigation
Security FAQ
Third-Party Audit
Reporting Vulnerabilities
Guides Overview
Building on the SDK
Stripe Integration
OpenAI Integration
Multi-Agent Setup
Onboarding Team
CI/CD Pipeline
Publishing ZK MCP
Rotating Credentials
Auditing Team Activity
Dev to Production
Kubernetes Deployment
Monorepo Setup
Production Proxy Hardening
vs .env Files
vs HashiCorp Vault
vs AWS Secrets Manager
vs dotenv-vault
vs Infisical
When Not to Use
Proxy Not Starting
Proxy Not Resolving
Domain Blocked
Sync Conflicts
MCP Not Connecting
Session Token Errors
Proxy Session Authorization
Keychain Storage & Backends
SSRF & Destination Rules
Installation Issues
Error Codes Reference
Frequently Asked Questions
v3.1.x
v3.0.0
v2.1.0
v2.0.0
v1.4.0
v1.3.x
v1.2.0
v1.1.x
v1.0.x
CLI ReferenceDomain Allowlist

Domain Allowlist

The proxy is deny-by-default. Before injecting any credential, the proxy checks the target domain against the workspace allowlist. If the domain is not authorized, the proxy returns 403 and logs the attempt. No credential is resolved, no request leaves your machine.

What this closes

SSRF: if an attacker tricks your agent into making a request to a server they control, the proxy blocks it before any credential is injected.

Prompt injection exfiltration: if malicious content instructs your agent to send credentials to an attacker-controlled URL, the proxy blocks the outbound request at the domain check, before anything is decrypted.

Misconfiguration: a tool that accidentally calls the wrong endpoint is blocked before any credential is exposed.

Managing the allowlist

# Add one or more domains agentsecrets workspace allowlist add api.stripe.com agentsecrets workspace allowlist add api.stripe.com api.openai.com api.github.com # View authorized domains agentsecrets workspace allowlist list # View logs agentsecrets workspace allowlist log

Allowlist changes require admin role and password confirmation. Non-admin team members cannot change what domains agents can reach.

Domain matching

The allowlist matches on the exact domain. Subdomains must be listed separately.

# This authorizes api.stripe.com only agentsecrets workspace allowlist add api.stripe.com # A request to files.stripe.com would be blocked # Add it explicitly if needed agentsecrets workspace allowlist add files.stripe.com
Was this helpful?
Thanks for your feedback!
Your feedback helps us improve the platform.