In-boundary mode (GovCloud / Gov)

Some buyers cannot send connector reads to a hosted US-commercial service. In-boundary mode answers that: a customer-operated collector runs inside your own AWS GovCloud, Azure Government or GCP Assured Workloads boundary, with your own read-only credentials, and emits a signed, metadata-only evidence bundle. Raw evidence never leaves your boundary — scm.cc stores signed KSI facts and sha256 digests only. This mode is generally available.

How it works

  1. You run the collector container inside your boundary on a schedule (CloudFormation / Terraform / Bicep templates ship in docs/connect/). It runs the same AWS, Azure, GCP and GitHub adapters the hosted product uses.
  2. The collector redacts credential material, content-hashes every item, and signs the whole bundle with an ed25519 key held inside your boundary. The private key never leaves your boundary.
  3. You register the matching public key once in scm.cc (Settings → In-boundary collector). Public keys are not secret.
  4. The collector POSTs a metadata-only bundle to POST /api/collector/bundleswith the signature in the x-collector-signature header. scm.cc verifies the signature against your registered key, rejects stale or replayed bundles, and stores the KSI facts and digests — attributed in-boundary.

The container image

The collector is a single-purpose container built from the scm.cc repository (packages/collector/Dockerfile, base node:22-alpine, runs as a non-root user). Pull it into your own registry and pin it by digest, not a floating tag, so the running image is reproducible and auditable:

# pin by digest in your own registry (GovCloud ECR / Azure ACR / GCP Artifact Registry)
<registry>/scm-collector@sha256:<digest>

# generate a signing key once, inside the boundary
docker run --rm <registry>/scm-collector@sha256:<digest> --gen-key > collector-ed25519.pem

# collect, sign, and upload the metadata-only bundle
docker run --rm \
  -e COLLECTOR_AWS='{"accessKeyId":"...","secretAccessKey":"...","region":"us-gov-west-1"}' \
  -e COLLECTOR_SIGNING_KEY="$(cat collector-ed25519.pem)" \
  <registry>/scm-collector@sha256:<digest> \
  --boundary acme-govcloud \
  --ingest-url https://app.scm.cc/api/collector/bundles \
  --org <your-org-uuid> --key-id acme-govcloud-1

Without --ingest-url the collector only writes the bundle to stdout or --out and never calls scm.cc — the bundle stays a portable artifact you choose to share.

Verify a bundle signature independently

A bundle is self-describing: it carries the ed25519 public key, a signature over the canonical bundle (minus the signature), and a per-item sha256. Anyone — you, an auditor — can verify it without scm.cc, and pin the trusted key:

import { verifyBundle } from "@fedramp/collector";

const bundle = JSON.parse(fs.readFileSync("bundle.json", "utf8"));
const result = verifyBundle(bundle, expectedPublicKeyB64 /* pin your key */);
// result.ok === true only when every item hash matches AND the ed25519
// signature over the canonical bundle holds.

Exactly what leaves the boundary

The metadata-only ingest body carries only these fields — never raw evidence:

What never leaves the boundary:

Turn it on

An org owner or admin registers a collector public key and toggles metadata-only mode under Settings → In-boundary collector. See the per-mode data flow on the subprocessor matrix.

Educational resource only. scm.cc is not a FedRAMP Recognized Independent Assessor (3PAO) and is not FedRAMP-authorized; it grants no authorization, certification, or assessment outcome. FedRAMP.gov is the authoritative source. This is not legal advice.