Skip to content

Commit

Permalink
add task_auth_method and service_auth_method config fields
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Oct 19, 2023
1 parent d73656d commit ea93817
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions website/content/docs/configuration/consul.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ value for the [`name`](#name) field.
Consul service name defined in the `server_service_name` option. This search
only happens if the server does not have a leader.

- `service_auth_method` `(string: "nomad-workloads")` - Specifies the name of the
Consul [authentication method][auth-method] that will be used to login with a
Nomad JWT for services.

- `service_identity` <code>([Identity][identity_block]: nil)</code> - Specifies
a default Workload Identity to use when obtaining Service Identity tokens from
Consul to register services. Refer to [Workload Identity](#workload-identity)
Expand All @@ -149,6 +153,10 @@ value for the [`name`](#name) field.
- `tags` `(array<string>: [])` - Specifies optional Consul tags to be
registered with the Nomad server and agent services.

- `task_auth_method` `(string: "nomad-tasks")` - Specifies the name of the
Consul [authentication method][auth-method] that will be used to login with a
Nomad JWT for tasks.

- `task_identity` <code>([Identity][identity_block]: nil)</code> - Specifies a
default Workload Identity to use when obtaining Consul tokens from Consul to
support [`template`][] blocks. Refer to [Workload
Expand Down Expand Up @@ -287,3 +295,4 @@ namespace "nomad-ns" {
[identity_block]: /nomad/docs/job-specification/identity
[`template`]: /nomad/docs/job-specification/template
[Migrating to Using Workload Identity with Consul]: /nomad/docs/integrations/consul-integration#migrating-to-using-workload-identity-with-consul
[auth-method]: /consul/docs/security/acl/auth-methods/jwt

0 comments on commit ea93817

Please sign in to comment.