-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consul integration upgrade based on Workload Identity #15618
Comments
Something to be investigated: Will the new automatic rotation fall into the same issues as current manual rotation of Consul ACL tokens: hashicorp/consul#4372 (comment) , where after the ACL token has been rotated Nomad is unable to update the services which were registered by this token. |
Submitting a Consul or Vault token with a job is deprecated in Nomad 1.7 and intended for removal in Nomad 1.9. Add a deprecation warning to the CLI when the user passes in the appropriate flag or environment variable. Nomad agents will no longer need a Vault token when configured with workload identity, and we'll ignore Vault tokens in the agent config after Nomad 1.9. Log a warning at agent startup. Ref: #15617 Ref: #15618
Submitting a Consul or Vault token with a job is deprecated in Nomad 1.7 and intended for removal in Nomad 1.9. Add a deprecation warning to the CLI when the user passes in the appropriate flag or environment variable. Nomad agents will no longer need a Vault token when configured with workload identity, and we'll ignore Vault tokens in the agent config after Nomad 1.9. Log a warning at agent startup. Ref: #15617 Ref: #15618
Shipped in Nomad 1.7.0-beta.1 |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Proposal
Once Workload Identity upgrades make it into Nomad, we can redo the Consul integration to use these tokens as the source of auth instead of manually provided Consul tokens.
Using these tokens, Nomad Users would have a one-time set up process to integrate Nomad workloads into Consul.
The general flow for setting up the Consul-Nomad integration would be:
(Note: no token needed)
This would involve an up front cost to set up roles and binding rules in Consul, but after that no management of tokens would be needed.
Use Cases & Advantages
This would be advantageous in many ways:
The text was updated successfully, but these errors were encountered: