a001406a33
A disposable ubuntu container, a fake private tier and a fake bootstrap endpoint, so the whole documented path — chezmoi init --apply, dotup pick, dotup private, cmp apply, dotsecrets — can run end to end without touching a real machine or a real credential. The fake tier mirrors the real one's structure (seven secrets and one alias) because dotsecrets is copied verbatim and the "8 exports, not 7" assertion depends on that cardinality; its ids are sequential and obviously synthetic. check-verbatim.sh keeps the fake tier's copies of shipped files honest, and snapshot.sh records file modes so a 644 where a 600 belongs is a diff.
44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
# Fake stand-in for the private tier's bws map. Same STRUCTURE as the real one
|
|
# -- seven secrets and one alias -- because `dotsecrets` is copied verbatim and
|
|
# the "8 exports, not 7" assertion depends on that cardinality.
|
|
#
|
|
# The ids are sequential and obviously synthetic. They are not secrets in the
|
|
# real repo either (a UUID fetches nothing without the machine token), but a
|
|
# fake tree should be unmistakably fake at a glance.
|
|
[bws]
|
|
project = "00000000-0000-4000-8000-000000000000"
|
|
|
|
[[bws.secrets]]
|
|
env = "LAB_ALPHA_API_KEY"
|
|
id = "00000000-0000-4000-8000-000000000001"
|
|
|
|
[[bws.secrets]]
|
|
env = "LAB_BRAVO_API_KEY"
|
|
id = "00000000-0000-4000-8000-000000000002"
|
|
|
|
[[bws.secrets]]
|
|
env = "LAB_CHARLIE_API_KEY"
|
|
id = "00000000-0000-4000-8000-000000000003"
|
|
|
|
[[bws.secrets]]
|
|
env = "LAB_DELTA_API_KEY"
|
|
id = "00000000-0000-4000-8000-000000000004"
|
|
|
|
[[bws.secrets]]
|
|
env = "LAB_ECHO_API_KEY"
|
|
id = "00000000-0000-4000-8000-000000000005"
|
|
|
|
[[bws.secrets]]
|
|
env = "LAB_FOXTROT_API_KEY"
|
|
id = "00000000-0000-4000-8000-000000000006"
|
|
|
|
[[bws.secrets]]
|
|
env = "LAB_GOLF_API_KEY"
|
|
id = "00000000-0000-4000-8000-000000000007"
|
|
|
|
# One value under two names, exactly as ZAI_API_KEY aliases Z_AI_API_KEY. This
|
|
# is why the real machine has 7 secrets and 8 exports.
|
|
[[bws.aliases]]
|
|
name = "LAB_GOLF_ALIAS_KEY"
|
|
from = "LAB_GOLF_API_KEY"
|