Skip to content

How to start with gitlab ci/cd? #667

Closed Answered by cipherboy
botkero asked this question in Q&A
Discussion options

You must be logged in to vote

\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 address
  • VAULT_AUTH_ROLE and VAULT_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 like https://openbao.example.com/v1/some/path/to/mount/data/DB_PROD, with an entry with data=some_secret_value you'd put a path like path: DB_PROD@some/path/to/mount and set VAULT_SERVER_URL=https://openbao.example.com.

The old $CI_JOB_JWT i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by botkero
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