[object Object]

← back to Dw Domain Fleet

migrate GoDaddy auth → Bearer PAT (TK-10 key rotation); sso-key fallback retained

2cb23f30fef5faa32835652e3f169f76cfe41581 · 2026-07-27 20:04:24 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 2cb23f30fef5faa32835652e3f169f76cfe41581
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jul 27 20:04:24 2026 -0700

    migrate GoDaddy auth → Bearer PAT (TK-10 key rotation); sso-key fallback retained
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 scripts/dns-cutover.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dns-cutover.js b/scripts/dns-cutover.js
index e332159..7a4c815 100644
--- a/scripts/dns-cutover.js
+++ b/scripts/dns-cutover.js
@@ -24,7 +24,7 @@ const SECRET = process.env.GODADDY_API_SECRET;
 if (!KEY || !SECRET) { console.error('FATAL: GODADDY_API_KEY / GODADDY_API_SECRET not set'); process.exit(1); }
 
 const manifest = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'data', 'manifest.json'), 'utf8'));
-const AUTH = `sso-key ${KEY}:${SECRET}`;
+const AUTH = process.env.GODADDY_PAT ? `Bearer ${process.env.GODADDY_PAT}` : `sso-key ${KEY}:${SECRET}`;
 
 function api(method, p, body) {
   return new Promise((resolve, reject) => {

← 7b1c304 Square fleet card images (aspect-ratio 1/1)  ·  back to Dw Domain Fleet  ·  (newest)