Move the user account and its password secret out of the core #27
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Discussion
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Help Wanted
Status
Need More Info
Prio - Hoog
Prio - Laag
Prio - Middel
styling
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MinBZK/DAWO-NixOS#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Per ADR-0003 user accounts belong in the consuming org/host layer, not in the
upstream core. Today
users-dawois imported byprofiles-dawo-genericand shipsa concrete
dawouser with a fixedinitialHashedPasswordbaked into the repo andmutableUsers = true.Two problems: a password hash in the shared core is a credential in a public repo
(every consumer inherits the same one), and a hardcoded end-user account is exactly
the org-specific thing ADR-0003 says should live in the consumer.
Proposal:
dawouser (and its hash) from the core baseline.account and its secret live in the org/host layer, with the secret managed by
agenix (already an input), not inlined.
mutableUsers = falsefor the managed posture, set per workplace.Question: should the core expose an opt-in
dawo.users.adminBreakGlassblock (adocumented local admin for recovery), or stay entirely user-agnostic and leave all
accounts to the org repo?