How to manage secrets only using nomad?

Team,

I have golang app, deployed using nomad, reads a token from the notepad file in the machine.

Is there anyway to manage this token in nomad like K8s secrets.

I can’t use Hashicorp vault for this.

Thank you

What have you tried so far? What is the job spec you have so far?

Maybe then someone might be able to guide you better, possibly.

My application depends on one token used to access the target application.

These are the few details of my job spec:

    group raw{
    task{
    artifact{
    source= “https://something.com/Dev.exe”
    destination=“local/test”
    }
    }
   driver= “raw_exec”
   config={
    command=“local/test/Dev.exe”
    }
    }

Now, I can’t hardcode the token inside Dev.exe. How to manage secrets which application needs to access the target application.

Why can’t you use Vault?