Community Edition v16.9.3 Null JWT Token

Hello,

I am a consumer of a self hosted Gitlab CE instance, i am not the admin of the instance. I am trying to test integration with Hashicorp Vault, therefore i need JWT tokens. Problem is i can’t get JWT token populated/generated in my pipeline job. What may i be doing wrong or is there something that needs to be configured by our gitlab admin? Below is the sample and simple job definition

vault_job:
id_tokens:
VAULT_ID_TOKEN:
aud: https://selfhostedinstance.company.com/
script:
- echo $VAULT_ID_TOKEN | base64

I am expecting to see base64 encoded string as a result, but all i get is ‘Cg==’ which is base64 encoded equivalent of newline character.

Why i am trying to see the content of the token, because i get ‘missing token’ error when i try to use the token with the ‘vault write’ command.

Thanks & regards