feat(renovate): enable tenant decryption and document key management #798

Sammanfogat
supernaut sammanfogade 3 incheckningar från feat/renovate-byo-decryption in i main 2026-10-18 17:52:38 +00:00
Ägare

Prepares self-hosted Renovate to decrypt tenant-encrypted secrets. Inert until a key is vaulted.

  • Pass RENOVATE_PRIVATE_KEY and RENOVATE_PRIVATE_KEY_OLD from renovate.env into the container, by name.
  • Set inheritConfig in config.js.
  • Both render only when vault_renovate_private_key is non-empty. config.js and renovate.env render byte-identical without it (covered by test_renovate_config.py, run in CI).
  • Add the vars to vault.example.yml.
  • Runbook: key generation, location, tenant encryption, rotation with privateKeyOld, revocation. Steps that depend on the #56 spike are marked.

Apply: --tags renovate. With the vault var empty only the wrapper changes.

Closes #58
Closes #59

Prepares self-hosted Renovate to decrypt tenant-encrypted secrets. Inert until a key is vaulted. - Pass `RENOVATE_PRIVATE_KEY` and `RENOVATE_PRIVATE_KEY_OLD` from `renovate.env` into the container, by name. - Set `inheritConfig` in `config.js`. - Both render only when `vault_renovate_private_key` is non-empty. `config.js` and `renovate.env` render byte-identical without it (covered by `test_renovate_config.py`, run in CI). - Add the vars to `vault.example.yml`. - Runbook: key generation, location, tenant encryption, rotation with `privateKeyOld`, revocation. Steps that depend on the #56 spike are marked. Apply: `--tags renovate`. With the vault var empty only the wrapper changes. Closes #58 Closes #59
supernaut lade till 3 incheckningar 2026-10-18 17:20:27 +00:00
Pass RENOVATE_PRIVATE_KEY (and _OLD for rotation) from renovate.env into the
container and set inheritConfig in config.js. Both render only when
vault_renovate_private_key is non-empty, so output is unchanged until the key exists.

Closes #58
Closes #59
test(renovate): satisfy ruff in the config render test
Alla kontroller lyckades
ci / ci (pull_request) Successful in 3m35s
bce5cde714
Exempt the assert-driven test from S101 and S701 as the runner-controller test is, and build the expected env line from the fixture.

Refs #58
supernaut tvångsskickade feat/renovate-byo-decryption från bce5cde714
Alla kontroller lyckades
ci / ci (pull_request) Successful in 3m35s
till 5241d564dc
Alla kontroller lyckades
ci / ci (pull_request) Successful in 3m15s
2026-10-18 17:48:54 +00:00
Jämför
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-18 17:49:01 +00:00
supernaut sammanfogade incheckning 2e76a0a027 till main 2026-10-18 17:52:38 +00:00
supernaut tog bort grenen feat/renovate-byo-decryption 2026-10-18 17:52:38 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra!798
Ingen beskrivning angiven.