ci: authenticate artifactapi rpm upload with a vault token #23

Merged
benvin merged 1 commits from benvin/artifactapi-upload-token into main 2026-10-25 23:08:58 +11:00
Member

artifactapi is about to enforce auth on file uploads (ARTIFACTAPI_AUTH_UPLOADS), and the release upload currently PUTs anonymously.

  • mint an artifactapi-writer OIDC token via Vault k8s auth (role woodpecker_artifactapi_writer) using the step SA token
  • fail the step if minting fails (set -o pipefail)
  • send the token as Authorization: Bearer via a header file, never in argv or logs
artifactapi is about to enforce auth on file uploads (`ARTIFACTAPI_AUTH_UPLOADS`), and the release upload currently PUTs anonymously. - mint an `artifactapi-writer` OIDC token via Vault k8s auth (role `woodpecker_artifactapi_writer`) using the step SA token - fail the step if minting fails (`set -o pipefail`) - send the token as `Authorization: Bearer` via a header file, never in argv or logs
unkin-agent added 1 commit 2026-10-25 20:36:33 +11:00
ci: authenticate artifactapi rpm upload with a vault token
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
77d8c8afd1
benvin merged commit 72c4105c0f into main 2026-10-25 23:08:58 +11:00
benvin deleted branch benvin/artifactapi-upload-token 2026-10-25 23:08:59 +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/node-lookup#23