fix(acme): use SAVED_ prefix for namecom creds in account.conf

_readaccountconf_mutable checks SAVED_NAMECOM_Username first; if that
key lookup exits 0 with empty output it short-circuits and never reads
the bare NAMECOM_Username key. Write the SAVED_ prefix that acme.sh
uses internally when persisting credentials.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
chrisfu 2026-05-06 15:10:13 -04:00
parent 76b641842e
commit 5ddb76930f

View File

@ -54,8 +54,8 @@
group: root
mode: "0600"
loop:
- { key: NAMECOM_Username, value: "{{ acme_namecom_username }}" }
- { key: NAMECOM_Token, value: "{{ acme_namecom_token }}" }
- { key: SAVED_NAMECOM_Username, value: "{{ acme_namecom_username }}" }
- { key: SAVED_NAMECOM_Token, value: "{{ acme_namecom_token }}" }
no_log: true
- name: Issue certs via DNS-01 (name.com) — skip if already issued