Hey Mates,
i try to get secrets from vault in my pipeline. We use a self hosted free edition of Gitlab and i was wondering, if maybe this is the problem.
I try the following:
export VAULT_TOKEN="$(vault write -field=token auth/jwt/login role=${VAULT_ROLE} jwt=$CI_JOB_JWT)"
And get the following error:
Error writing data to auth/jwt/login: Error making API request.
URL: PUT URL/v1/auth/jwt/login
Code: 400. Errors:
* missing token
Does someone have a solution and can help me, this would make my day
Cheers
Tobeje