技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
ramp-multi-env-setup【数据与研究】Configure isolated Ramp sandbox, staging, and production environments with separate applications, credentials, hosts, data, webhooks, and evidence. Use when preventing cross-environment access or promoting an integration. Trigger with "Ramp environments" or "separate Ramp sandbox and prod".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Make environment selection a typed security boundary. Keep credentials and data from crossing it, verify resolved hosts before token exchange, and require an explicit interlock before production writes.
references/official-docs.md and re-check endpoint schemas, scopes, limits, and support status before a live operation.demo.ramp.com and demo-api.ramp.com; production uses app.ramp.com and api.ramp.com.Define a closed environment enum with host, application ID, secret references, redirect URIs, parent origins, webhook endpoints, entity allowlists, and write policy.
Create separate Ramp applications and secret-manager namespaces; prohibit a configuration from carrying credentials or webhook secrets across environments.
Validate host allowlists, TLS, redirect/origin exactness, and token environment before each startup; print only non-secret environment identity.
Run synthetic and sandbox tests, then promote the same artifact and reviewed configuration schema without copying sandbox data or credentials.
Require a time-bound production-write enablement with owner, entity, operation, rollback, and automatic fail-closed behavior.
Security owns isolation and secrets; application owners approve hosts and redirects; business/finance owners approve production entity access and writes.
An environment matrix, validated configuration schema, application and secret inventory, host/origin proof, isolation tests, promotion record, and write-interlock evidence.
| Condition | Response |
|---|---|
| A token fails only after promotion | Verify the production application, scopes, grant, secret reference, and host; never fall back to sandbox credentials. |
| A production origin contains localhost or a wildcard | Block release and configure the exact controlled HTTPS origin. |
| Environment is missing or unknown | Fail closed before reading credentials or constructing a request. |
Configure local and CI to permit only demo-api.ramp.com, while production accepts only api.ramp.com with a separate secret namespace.
Verify staging and production webhook endpoints use different subscriptions, secrets, queues, and replay ledgers.