hashicorp / hashicorp/nomad

ECR credentials for AWS using Vault

Open
#7,832 1 comment 0 reactions 0 assignees View on GitHub
theme/docs theme/environment-aws theme/vault
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

We've been trying to ascertain a clean way in which we can leverage Vault to provide credentials (or scripts or syntax) to a nomad job through the template, without physically colocating AWS keys/secrets onto the nomad host itself.

Is there no way to do this without touching the actual nomad server?

We'd like to be able to plan out job/tasks that cross over several ECR repositories, and private repos, not just one, and although we could put numerous profiles in the /root/.aws/credentials file, that pretty much defeats the use of Vault to keep this information out of people's hands.

We haven't found a clean way to do this.

Is this possible?

Existing cluster, already integrated with Vault. Leave it untouched. We have a new task that needs to pull the image from ECR.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by reviewing Nomad's existing Vault integration and the job configuration path for private ECR image pulls; done means establishing whether a supported approach can handle multiple private repositories without placing AWS credentials on the Nomad host.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cloud, infrastructure, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.