Add tart VM tester pool role (gecko_t_osx_1500_m_vms) for host-mediated vault injection#47
Merged
Merged
Conversation
…ed vault injection
Onboards the macOS Tart VM tester pool to the broker so the credential-free VM
images can get their Taskcluster vault at runtime instead of having it baked in
/ left on the build runner (the root cause of Bug 2049579).
Adds the role (+ a staging variant) in the two standard places:
* puppet_roles (variables.tf) -> creates an empty vault-<role> Secret Manager
container via secrets.tf for_each; value populated separately with
`gcloud secrets versions add`, out of state/git.
* SCEP_ROLES (bootstrap-step-ca.sh) -> one SCEP provisioner per role, created
on the next CA bootstrap.
Trust model: the MDM-enrolled tart *host* authenticates to the broker as the VM
pool role (its SCEP cert identity) and fetches + injects that vault into the VM
at launch. The VMs themselves are not MDM-enrolled, so they can't authenticate
to the broker directly — the host mediates.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jwmossmoz
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Onboards the macOS Tart VM tester pool (
gecko-t-osx-1500-m-vms, + a_stagingvariant) to the broker, so credential-free VM images can fetch their Taskcluster vault at runtime instead of baking it into the image / leaving it on the build runner — the root cause of Bug 2049579.Adds the role in the two standard places (matches the arm64 onboarding):
puppet_roles(variables.tf) →secrets.tffor_eachcreates an emptyvault-gecko_t_osx_1500_m_vms(+_staging) Secret Manager container; values populated separately viagcloud secrets versions add, out of state/git.SCEP_ROLES(bootstrap-step-ca.sh) → one SCEP provisioner per role, created on the next CA bootstrap.Trust model: the VMs are not MDM-enrolled, so they can't authenticate to the broker themselves. The MDM-enrolled tart host authenticates as the VM pool role (its SCEP cert identity), fetches that vault, and injects it into the credential-free VM at launch.
Rollout after merge:
terraform apply(creates the empty containers) →gcloud secrets versions add vault-gecko_t_osx_1500_m_vms --data-file=…(tester vault — L1/try, low-sensitivity, token already rotated) → re-run CA bootstrap for the SCEP provisioner → SimpleMDM SCEP profile for the tart hosts → ronin_puppet host-injection._stagingcontainer stays empty until the staging pool exists.Validated:
terraform fmt/validateclean,bash -nclean.🤖 Generated with Claude Code