Using vault secrets in job spec

I am creating a job spec. I need to pull my images from a private repo. I want to put my repo credentials in the vault. So I am not sure how to pull them from vault and put into the job spec

task "fvtt" {
      driver = "docker"
      config {
        image = "registry.gitlab.com/harry/source/myimage:0.6.0"
        auth {
          username = "{{ }}"
          password = "{{ }}"
        }

I see how to use the template to add env values to the task env. But I don’t see how to pull from vault to actually use in the job spec.

Any help would be greatly appreciated.
Brad

Hi @bradley :wave:

This is a known feature gap, and we have a feature request open to track it.

For now it would be best to configure the plugin if possible.

Would you mind adding a :+1: to the issue?

Thank you!