Ask for a credential that .env does not provide #35

Open
opened 2026-10-06 06:49:00 +02:00 by Tirsvad · 0 comments
Owner

.env becomes optional. GITEA_TOKEN is asked after the configuration is read; GITHUB_PAT and GITHUB_USER once GitHub is chosen. Read without echo (read -s), validated by the existing token and account validators, registered for redaction before any later message, asked again when invalid, a stop naming the key when input ends. A new lib/credentials.sh (class CredentialCollector of [DCD-001]). Extension 2b of [UC-001].

Phase: MIL-005
Reference: [UC-001]

`.env` becomes optional. `GITEA_TOKEN` is asked after the configuration is read; `GITHUB_PAT` and `GITHUB_USER` once GitHub is chosen. Read without echo (`read -s`), validated by the existing token and account validators, registered for redaction before any later message, asked again when invalid, a stop naming the key when input ends. A new `lib/credentials.sh` (class `CredentialCollector` of [DCD-001]). Extension 2b of [UC-001]. Phase: MIL-005 Reference: [UC-001]
Tirsvad added this to the MIL-005 Credentials milestone 2026-10-06 06:49:00 +02:00
Sign in to join this conversation.