diff --git a/website/content/api-docs/acl/auth-methods.mdx b/website/content/api-docs/acl/auth-methods.mdx index ae1df7c00..56d503378 100644 --- a/website/content/api-docs/acl/auth-methods.mdx +++ b/website/content/api-docs/acl/auth-methods.mdx @@ -28,8 +28,8 @@ The table below shows this endpoint's support for ### Parameters - `Name` `(string: )` - Name is the identifier of the ACL auth method. - The name can contain alphanumeric characters, dashes, and underscores. This - name must be unique and must not exceed 128 characters. + The name can contain alphanumeric characters and dashes. This name must be + unique and must not exceed 128 characters. - `Type` `(string: )` - ACL auth method type, supports `OIDC` and `JWT`. @@ -219,7 +219,7 @@ queries](/nomad/api-docs#blocking-queries) and [required ACLs](/nomad/api-docs#a ### Parameters - `Name` `(string: )` - Names is the identifier of the ACL auth - method. The name can contain alphanumeric characters, dashes, and underscores. + method. The name can contain alphanumeric characters and dashes. This name must be unique and must not exceed 128 characters. - `Type` `(string: )` - ACL auth role SSO identifier. Currently, the diff --git a/website/content/api-docs/acl/roles.mdx b/website/content/api-docs/acl/roles.mdx index 7e2e2ca58..b19dca993 100644 --- a/website/content/api-docs/acl/roles.mdx +++ b/website/content/api-docs/acl/roles.mdx @@ -28,7 +28,7 @@ The table below shows this endpoint's support for ### Parameters - `Name` `(string: )` - Specifies the human-readable name of the ACL - Role. The name can contain alphanumeric characters, dashes, and underscores. + Role. The name can contain alphanumeric characters and dashes. This name must be unique and must not exceed 128 characters. - `Description` `(string: )` - A free form human-readable description @@ -102,7 +102,7 @@ The table below shows this endpoint's support for updated. Must match payload body and request path. - `Name` `(string: )` - Specifies the human-readable name of the ACL - Role. The name can contain alphanumeric characters, dashes, and underscores. + Role. The name can contain alphanumeric characters and dashes. This name must be unique a must not exceed 128 characters. - `Description` `(string: )` - A free form human-readable description diff --git a/website/content/docs/commands/acl/auth-method/update.mdx b/website/content/docs/commands/acl/auth-method/update.mdx index 3738f7f3e..5b0b58d0a 100644 --- a/website/content/docs/commands/acl/auth-method/update.mdx +++ b/website/content/docs/commands/acl/auth-method/update.mdx @@ -23,8 +23,8 @@ The `acl auth-method update` command requires an existing method's name. ## Update Options - `-name`: Sets the human-readable name for the ACL Role. It is required and - can contain alphanumeric characters, dashes, and underscores. This name must - be unique and must not exceed 128 characters. + can contain alphanumeric characters and dashes. This name must be unique and + must not exceed 128 characters. - `-description`: A free form text description of the role that must not exceed 256 characters. diff --git a/website/content/docs/commands/acl/role/create.mdx b/website/content/docs/commands/acl/role/create.mdx index 64d72c4b0..a5a48d3da 100644 --- a/website/content/docs/commands/acl/role/create.mdx +++ b/website/content/docs/commands/acl/role/create.mdx @@ -24,8 +24,8 @@ via flags detailed below. ## Create Options - `-name`: Sets the human-readable name for the ACL Role. It is required and - can contain alphanumeric characters, dashes, and underscores. This name must - be unique and must not exceed 128 characters. + can contain alphanumeric characters and dashes. This name must be unique and + must not exceed 128 characters. - `-description`: A free form text description of the role that must not exceed 256 characters. diff --git a/website/content/docs/commands/acl/role/update.mdx b/website/content/docs/commands/acl/role/update.mdx index cc808f838..921924e82 100644 --- a/website/content/docs/commands/acl/role/update.mdx +++ b/website/content/docs/commands/acl/role/update.mdx @@ -23,8 +23,8 @@ The `acl role update` command requires an existing role's ID. ## Update Options - `-name`: Sets the human-readable name for the ACL Role. It is required and - can contain alphanumeric characters, dashes, and underscores. This name must - be unique and must not exceed 128 characters. + can contain alphanumeric characters and dashes. This name must be unique and + must not exceed 128 characters. - `-description`: A free form text description of the role that must not exceed 256 characters. diff --git a/website/content/docs/job-specification/action.mdx b/website/content/docs/job-specification/action.mdx index 50c283466..bb7f4c43d 100644 --- a/website/content/docs/job-specification/action.mdx +++ b/website/content/docs/job-specification/action.mdx @@ -12,6 +12,9 @@ The `action` block allows job authors to define custom commands. These commands can be executed by operators with the necessary permissions on a running allocation, offering a controlled way to interact with tasks. +The name of the action can contain alphanumeric characters and dashes. This +name must be unique within its task and must not exceed 128 characters. + ## `action` Parameters - `command` `(string: )` - Specifies the command to be executed.