SSH Keys in Vault for Pulling Private Github Repos

489 views
Skip to first unread message

Pss Srivignessh

unread,
Jun 18, 2017, 4:48:30 PM6/18/17
to Nomad
Our use case is pull a github private repo with SSH Keys stored in Vault.

Is there any way to swap the sshey in options field with a vault secret ?
 
Is there any other approach to do this

msch...@hashicorp.com

unread,
Jun 19, 2017, 12:43:39 PM6/19/17
to Nomad
Unfortunately not yet. Follow this issue to be updated when it's fixed: https://github.com/hashicorp/nomad/issues/2435
Message has been deleted

msch...@hashicorp.com

unread,
Sep 11, 2017, 1:26:41 PM9/11/17
to Nomad
Unfortunately I was wrong. Artifacts are downloaded before templates are processed so there's no way to inject Vault secrets into artifact credentials at the moment.

It should be fixed by integrating HIL interpolation which will make templating vault secrets into your job file a first class feature: https://github.com/hashicorp/nomad/issues/1185

Terribly sorry #2435 didn't address this use case!
Reply all
Reply to author
Forward
0 new messages