Repository navigation
Loading secrets from Vault/OpenBao #7568
Replies: 1 comment 4 replies
|
Not a boneheaded question. The docs don't spell this part out: Woodpecker doesn't speak the Vault/OpenBao API. When a pipeline starts, it sends a signed { "secrets": [ { "name": "docker_password", "value": "..." } ] }( So you need a small bridge service between them:
Your pipeline then uses them like any other secret: For a working starting point, look at https://github.com/woodpecker-ci/example-extensions. |
Uh oh!
There was an error while loading. Please reload this page.
Hey folks, I'm just getting started with Woodpecker and it's been very smooth so far. Now, I am trying to set up secrets for my jobs within OpenBao, and trying to understand how to load secrets from OpenBao into my jobs. I am aware of #929, #915, and https://woodpecker-ci.org/docs/usage/extensions/secret-extension, but I am looking for a step-by-step tutorial on how to actually configure this within both Woodpecker and OpenBao.
With the current docs, I pretty much got as far as...
But I have no idea how to actually make OpenBao authenticate or fetch secrets. Could somebody give me some guidance here?
Thanks in advance, and sorry for what is probably a boneheaded question in the first place.
All reactions