ci: authenticate artifactapi upload with a vault token #10

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

artifactapi is about to enforce auth on file uploads (ARTIFACTAPI_AUTH_UPLOADS), and the release publish step 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 publish step 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:34:03 +11:00
ci: authenticate release upload with a vault-minted artifactapi token
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
b7cae18459
Author
Member

No findings.

No findings.
benvin merged commit 66b78007b2 into main 2026-10-25 23:01:21 +11:00
benvin deleted branch benvin/artifactapi-upload-token 2026-10-25 23:01:21 +11:00
Sign in to join this conversation.