[object Object]

← back to Archive Agent

Strip hardcoded Shopify API tokens from source (env-first); no rotation/deploy — response to Shopify exposed-credentials notice

d8e9d87d6fd43140aaaa95bc55238fb639b37baf · 2026-07-16 09:59:11 -0700 · Steve Abrams

Files touched

Diff

commit d8e9d87d6fd43140aaaa95bc55238fb639b37baf
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Jul 16 09:59:11 2026 -0700

    Strip hardcoded Shopify API tokens from source (env-first); no rotation/deploy — response to Shopify exposed-credentials notice
---
 ecosystem.config.js        | 2 +-
 ecosystem.config.js.rotbak | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecosystem.config.js b/ecosystem.config.js
index 24352bd..7331543 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -7,7 +7,7 @@ module.exports = {
       PORT: 9648,
       ARCHIVE_SCAN_MINUTES: 60,
       SHOPIFY_STORE: 'designer-laboratory-sandbox.myshopify.com',
-      SHOPIFY_ADMIN_TOKEN: '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',
+      SHOPIFY_ADMIN_TOKEN: (process.env.SHOPIFY_ADMIN_TOKEN || ''),
       DATABASE_URL: (process.env.DATABASE_URL || 'postgresql://dw_admin:GDTfRN4cfYo8nwyiov0r22WF@127.0.0.1:5432/dw_unified'),
     },
     error_file: '/root/DW-Agents/archive-agent/logs/error.log',
diff --git a/ecosystem.config.js.rotbak b/ecosystem.config.js.rotbak
index 47abe70..95a25fe 100644
--- a/ecosystem.config.js.rotbak
+++ b/ecosystem.config.js.rotbak
@@ -7,7 +7,7 @@ module.exports = {
       PORT: 9648,
       ARCHIVE_SCAN_MINUTES: 60,
       SHOPIFY_STORE: 'designer-laboratory-sandbox.myshopify.com',
-      SHOPIFY_ADMIN_TOKEN: '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',
+      SHOPIFY_ADMIN_TOKEN: 'shpat_REDACTED',
       DATABASE_URL: (process.env.DATABASE_URL || 'postgresql://dw_admin@127.0.0.1:5432/dw_unified'),
     },
     error_file: '/root/DW-Agents/archive-agent/logs/error.log',

← 6ab943e auto-save: 2026-06-21T18:53:00 (2 files) — ecosystem.config.  ·  back to Archive Agent  ·  (newest)