Create restricted keys

Create restricted keys

Give RevBridge only the Stripe access it needs in the seller and buyer accounts without sharing full secret keys.

Updated Aug 31, 2026

RevBridge uses one Stripe restricted key for the seller account and one for the buyer account. It rejects unrestricted live secret keys.

Create the keys from RevBridge

In the migration console, select Generate source key and Generate destination key. Each link opens Stripe's restricted-key form with the required permissions selected and the key named for its role.

Create the source key while signed in to the seller account. Create the destination key while signed in to the buyer account.

Check the Stripe header

The link opens whichever Stripe account is active in your browser. Confirm the account name and test or live mode before you create each key.

Both keys must:

  • Start with rk_.
  • Use the same Stripe mode.
  • Belong to different Stripe accounts.

Stripe shows a new restricted key once. Copy it into RevBridge before you close the Stripe dialog.

Required access

The source key reads the seller's billing state and winds down supported subscriptions. The destination key reads prepared customers and creates the buyer's billing objects.

Stripe resourceSeller keyBuyer keyWhy RevBridge needs it
CustomersReadRead and writeCheck customer state and set a safe buyer default card when needed.
Payment methods and legacy cardsReadReadMatch the seller card to the copied card in the buyer account.
SubscriptionsRead and writeRead and writeRead source terms, create buyer subscriptions, and wind down seller subscriptions.
Products and pricesReadRead and writeReuse safe catalog objects or clone missing ones.
CouponsReadRead and writeCheck and clone supported subscription coupons.
Invoices and invoice itemsReadReadRefuse unsettled balances and unexpected first invoices.
Tax IDsReadReadRefuse customer tax state that RevBridge does not carry.
PaymentIntents and ChargesReadNoneRead payment evidence on the latest invoice when no default exists.

RevBridge does not need Stripe's KYC resource group. Stripe does not let that group share a restricted key with normal resource permissions.

How verification works

When you save the keys, RevBridge checks each required read operation. If a permission is missing, the error names the Stripe resource to update.

At the start of the live run, RevBridge probes two write scopes:

  • It makes a state-preserving source subscription update only when the migration needs seller-side write access.
  • It creates an inactive temporary product in the buyer account to prove destination write access, then tries to delete it.

If the source check or temporary-product create fails, no buyer subscription is created. If only the temporary-product deletion fails, the run can continue; the audit names the leftover product for manual cleanup.

These probes do not prove Customers, Prices, Coupons, or Subscriptions Write on the buyer key. Stripe checks each of those permissions when RevBridge uses it. A missing scope can therefore fail after an earlier buyer write has already succeeded. Use the full permission table above when you create the keys.

Key lifetime

RevBridge stores the keys encrypted while the migration is being prepared. After a live run reaches a completed or failed state, it wipes the keys and closes the audit trail with a WIPE_KEYS record.

To recover from a failed run, save new keys, upload the customer mapping again, and run a fresh scan. Saving replacement keys clears the cached mapping, even when the customer pairs have not changed.

Read Run and recover a migration before you start the live run.