Stores (Etsy and eBay)
The Etsy and eBay job types (etsy_catalog, etsy_orders, ebay_catalog, ebay_orders) need the store’s approval. The Stores page gets it: you sign in to Etsy as the shop’s owner, or to eBay as the seller, approve, and SREInsights stores the tokens in AWS Secrets Manager, where the jobs read them.
Connecting a store
Section titled “Connecting a store”- On Stores, select Connect and name the store. Choose its client if it has one; its jobs belong to the same client.
- You are sent to Etsy or eBay. Sign in yourself, in this browser: the person who selects Connect is the one who signs in. If the shop’s owner is someone else, they sign in on that screen.
- Approve. The provider sends you back to SREInsights, which trades the approval for tokens and writes them to the store’s secret.
- The page lists the store and its next steps: an
aws_secrets_managerconnection for it, and its jobs, filled in with the store’s key.
What SREInsights does with the tokens
Section titled “What SREInsights does with the tokens”- They go only to AWS Secrets Manager. Never to the SREInsights database, an API answer, the audit log or a log line.
- SREInsights updates only the fields the sign-in sets, so anything else in the secret stays.
- A sign-in works once and expires after ten minutes. Someone else’s session, another organization, a replay or a late return is refused before any provider is called.
- A store belongs to one organization. Connecting it from another is refused (
409 STORE_OWNED_ELSEWHERE). - Etsy scopes:
listings_r transactions_r, plus whatever the store already granted. eBay: the base scope andsell.fulfillment.readonly.
Who can connect
Section titled “Who can connect”Owners and Admins connect and forget stores. Everyone else sees them. Forget removes SREInsights’ record only; the secret and the store’s approval stay.