'Gitlab pipeline with Vault authentification

I'm using a Gitlab 13.11.1 enterprise edition with free subscription.

I'm trying (into my pipeline) to authenticate to a Hashicorp Vault.

To achieve that I need the CI_JOB_JWT predefined variable.

According to that page the variable is available since version 12.10 and all tiers (free)

But that guide tells it is only for premium.

When I'm trying it seems the variable is empty (or not available). I have a missing token error when trying the vault write ...

How can I be sure the CI_JOB_JWT is (or not) available with the free subscription ?



Solution 1:[1]

I know it's late but as I was testing a Vault config with a free tier "license" (on gitlab.com however, not with a dedicated instance), I can confirm the CI_JOB_JWT token is there and it works.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 frl