diff --git a/website/content/api-docs/acl/policies.mdx b/website/content/api-docs/acl/policies.mdx index 4e07722b8cf..34241b77a89 100644 --- a/website/content/api-docs/acl/policies.mdx +++ b/website/content/api-docs/acl/policies.mdx @@ -82,20 +82,19 @@ The table below shows this endpoint's support for - `Rules` `(string: )` - Specifies the Policy rules in HCL or JSON format. -- `JobACL` `(JobACL: )` - Associates the policy with a given - namespace, job, group, or task. Refer to [Workload Associated ACL +- `JobACL` `(JobACL: )` - Associates the policy with a given job, + group, or task. Refer to [Workload Associated ACL Policies][concepts_workload_identity_acl] for more information. - - `Namespace` `(string: )` - The namespace to attach the policy. - Required if `JobID` is set. + - `Namespace` `(string: )` - Attach the policy to the job in this + namespace. Required if `JobID` is set. - - `JobID` `(string: )` - The job to attach to the policy. Required - if `Group` is set. + - `JobID` `(string)` - Attach the policy to this job. Required to use `JobACL`. - - `Group` `(string: )` - The group to attach to the policy. - Required if `Task` is set. + - `Group` `(string: )` - Attach the policy to this group within the + job. Required if `Task` is set. - - `Task` `(string: )` - The task to attach to the policy. + - `Task` `(string: )` - Attach the policy to this task within the job. ### Sample Payload diff --git a/website/content/docs/commands/acl/policy/apply.mdx b/website/content/docs/commands/acl/policy/apply.mdx index af000cd896a..d472c3d1f28 100644 --- a/website/content/docs/commands/acl/policy/apply.mdx +++ b/website/content/docs/commands/acl/policy/apply.mdx @@ -29,7 +29,7 @@ This command requires a management ACL token. - `-description`: Sets the human readable description for the ACL policy. - `-job`: Attaches the policy to the specified job. Requires that `-namespace` is - also set. + also set. Refer to [Workload Associated ACL Policies][] for more details. - `-namespace`: Attaches the policy to the specified namespace. Requires that `-job` is also set. @@ -58,3 +58,5 @@ $ nomad acl policy apply \ my-policy my-policy.json Successfully wrote 'my-policy' ACL policy! ``` + +[Workload Associated ACL Policies]: /nomad/docs/concepts/workload-identity#workload-associated-acl-policies