Encrypt artifactapi GitHub App keys with Vault transit #616

Merged
benvin merged 1 commits from benvin/artifactapi-key-encryption into main 2026-11-29 17:45:07 +11:00
Member

artifactapi stores GitHub App private keys in Postgres in plaintext. It can now encrypt them with a Vault transit key, logging in via Kubernetes auth.

  • enable transit encryption of GitHub App keys on the api Deployment
  • point it at Vault (k8s/au/syd1 role artifactapi, transit key artifactapi-github-app-keys) using the combined CA bundle
  • mount a projected SA token with audience vault for the login

Requires IUCLabs/terraform-vault#15 applied and an artifactapi release containing IUCLabs/artifactapi#22.

artifactapi stores GitHub App private keys in Postgres in plaintext. It can now encrypt them with a Vault transit key, logging in via Kubernetes auth. - enable transit encryption of GitHub App keys on the api Deployment - point it at Vault (`k8s/au/syd1` role `artifactapi`, transit key `artifactapi-github-app-keys`) using the combined CA bundle - mount a projected SA token with audience `vault` for the login Requires IUCLabs/terraform-vault#15 applied and an artifactapi release containing IUCLabs/artifactapi#22.
unkin-agent added 1 commit 2026-11-28 14:00:22 +11:00
Encrypt artifactapi GitHub App keys with Vault transit
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
412bd426d4
benvin merged commit 87dad4c89b into main 2026-11-29 17:45:07 +11:00
benvin deleted branch benvin/artifactapi-key-encryption 2026-11-29 17:45:08 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#616