-
Hello I am a total beginner when it comes to this topic and maybe I am totally wrong here. I currently use CI variables within my GitLab projects/groups. The questions I have are:
Also, I saw an example setup in another discussion, but unfortunately it wasn't really clearer to me there. On this documentation page, authentication with JWT tokens is also considered deprecated. If the question goes beyond the scope of the detailed answer, I can understand that. If you could at least point me in the right direction with further links etc., I would be very grateful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
\o Hello @botkero -- several things here! Vault is running externally. You'll define a few variables for the runner to connect to it:
In the example you linked, The old re:
I don't believe so, but do note that it is a GitLab Premium and Ultimate tier feature, so I encourage you to contact support (where I'll be able to help you more!) if you have any questions. |
Beta Was this translation helpful? Give feedback.
\o Hello @botkero -- several things here!
Vault is running externally. You'll define a few variables for the runner to connect to it:
VAULT_SERVER_URL
-- this is the server addressVAULT_AUTH_ROLE
andVAULT_AUTH_PATH
are the JWT auth role and JWT auth mount path respectively, without the address.In the example you linked,
path:
is the path to the secret, including the KVv2 secret mount point, specified after the@
. For instance, if you had a secret likehttps://openbao.example.com/v1/some/path/to/mount/data/DB_PROD
, with an entry withdata=some_secret_value
you'd put a path likepath: DB_PROD@some/path/to/mount
and setVAULT_SERVER_URL=https://openbao.example.com
.The old
$CI_JOB_JWT
i…