Flexport Environment and Credential Isolation

SkillDev tools

Separate Flexport development, test, staging, and production configuration without inventing provider hostnames or key prefixes. Use when creating environments, test credentials, receivers, or promotion rules. Trigger with: "Flexport environments", "Flexport staging setup", "separate Flexport credentials".

Use Flexport Environment and Credential Isolation in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Flexport Environment and Credential Isolation and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Flexport Environment and Credential Isolation skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Flexport Environment and Credential IsolationStart free

What this skill tells your AI

The instructions your AI receives, as published by jeremylongshore/tons-of-skills-marketplace in skills/.curated/flexport-multi-env-setup/SKILL.md and read by Ahel’s review.

Overview

Flexport documents the same API base rather than arbitrary environment URLs. Isolation comes from accounts/credentials, receiver URLs, data policy, and mutation gates; a test credential may require coordination with the account executive.

Prerequisites

  • Environment/account matrix and data classification
  • Distinct credential aliases and secret-store namespaces
  • Separate webhook URLs, queues, databases, and mutation policy

Instructions

Step 1: Define each boundary

For every environment record account identity, credential type, endpoint resources, version behavior, receiver, data class, and permitted operations.

Step 2: Issue distinct credentials

Never share client IDs, client secrets, API keys, cached tokens, or MCP sessions across environments.

Step 3: Keep canonical hosts

Use documented Flexport API/MCP hosts. Do not invent staging subdomains or infer an environment from a credential prefix.

Step 4: Control test access

Request any Flexport test credential through the documented account-executive route and keep local/default tests fixture-only.

Step 5: Gate promotion

Promote immutable artifacts while supplying environment-specific secret references and config. Production mutations remain disabled until canary approval.

Step 6: Prove non-crossing

Test that each environment rejects another's credential alias, callback destination, queue, and data-store identity.

Authentication

REST calls authenticate with a cached OAuth 2.0 client-credentials Bearer token using audience https://api.flexport.com, or an explicitly accepted broad API key. Use distinct credentials per workload and never log credentials or tokens. MCP calls use the authenticated connection to https://mcp.flexport.com/mcp and remain subject to each tool's documented account permissions.

Tool Discipline

Use Read and Grep for discovery and evidence. Use Write or Edit only for the approved artifact, code, configuration, test, or receipt described by this workflow; do not make an unapproved Flexport-side change.

Output

  • Scoped decision or implementation artifact
  • Redacted operation and validation receipt
  • Failure, rollback, and follow-up ownership record

Return a machine-reviewable receipt in this shape; adapt the operation values, but never place credentials or provider payloads in it:

surface: rest-v3
operation: shipment-read
decision: approved
outcome: verified
evidence:
  release_sha: recorded-out-of-band
  provider_reference: redacted
rollback_owner: logistics-platform

Examples

Staging and production run the same artifact against documented hosts, but use different credential records, callback URLs, queues, stores, and mutation flags. Default developer tests use no live Flexport credential.

Error Handling

FailureResponse
Credential reused across environmentsRotate or separate it before promotion.
Undocumented environment host configuredRemove it and verify the official account/credential model.
Production data enters testContain and delete under policy, then repair routing controls.
Test credential unavailableUse sanitized fixtures; do not borrow production access.

Resources

Signals

GitHub stars
3k
Forks
415
Last commit
Oct 2026
Advanced
Item type
skill
Key
flexport-multi-env-setup
Source
github.com/jeremylongshore/tons-of-skills-marketplace