Skip to content

Passing a secret to an openQA job #6163

Answered by okurz
rclobus asked this question in Q&A
Discussion options

You must be logged in to vote

The result is:

* https://openqa.debian.net/tests/358078#settings -> `SALSA_PASSWORD` and `_SECRET_SALSA_TOKEN` are visible

* https://openqa.debian.net/tests/358078/file/vars.json -> Both secrets are removed, as is documented in the testapi documentation for `set_var`: "Variables starting with _SECRET_ or including _PASSWORD will not appear in the vars.json file."

That is effectivey the current state of secret handing. That means that you can put secrets into the worker config and it will stay hidden. Hiding secrets from openQA settings would be covered by https://progress.opensuse.org/issues/105624

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rclobus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants