mirror of https://github.com/hashicorp/consul
Browse Source
Ongoing work to support Nomad Workload Identity for authenticating with Consul will mean that Nomad's service registration sync with Consul will want to use Consul tokens scoped to individual workloads for registering services and checks. The `ServiceRegisterOpts` type in the API doesn't have an option to pass the token in, which prevent us from sharing the same Consul connection for all workloads. Add a `Token` field to match the behavior of `ServiceDeregisterOpts`.jm/NET-4931
Tim Gross
1 year ago
committed by
GitHub
3 changed files with 25 additions and 0 deletions
@ -0,0 +1,3 @@
|
||||
```release-note:improvement |
||||
api: added `Token` field to `ServiceRegisterOpts` type in Agent API |
||||
``` |
Loading…
Reference in new issue