← back to Dw Domain Launcher
migrate GoDaddy auth → Bearer PAT (TK-10 key rotation); sso-key fallback retained
bdbd95311d104589aa8b1f93d44c3996e1127f09 · 2026-07-27 20:05:44 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit bdbd95311d104589aa8b1f93d44c3996e1127f09
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Jul 27 20:05:44 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>
---
server.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/server.js b/server.js
index 3cfe4a4..23a212b 100644
--- a/server.js
+++ b/server.js
@@ -19,6 +19,8 @@ const DECISIONS_FILE = path.join(ROOT, 'data', 'decisions.json');
function getGodaddyAuth() {
try {
const env = fs.readFileSync('/Users/macstudio3/Projects/secrets-manager/.env', 'utf8');
+ const pat = env.match(/^GODADDY_PAT=(.+)$/m)?.[1];
+ if (pat) return `Bearer ${pat}`;
const key = env.match(/^GODADDY_API_KEY=(.+)$/m)?.[1];
const sec = env.match(/^GODADDY_API_SECRET=(.+)$/m)?.[1];
if (key && sec) return `sso-key ${key}:${sec}`;
← 591a771 chore: macstudio3 migration — reconcile from mac2 + repoint
·
back to Dw Domain Launcher
·
(newest)