diff --git a/command/acl_auth_method.go b/command/acl_auth_method.go index 29cc6d00b..3f6f18b31 100644 --- a/command/acl_auth_method.go +++ b/command/acl_auth_method.go @@ -77,7 +77,7 @@ func formatAuthMethod(authMethod *api.ACLAuthMethod) string { fmt.Sprintf("Name|%s", authMethod.Name), fmt.Sprintf("Type|%s", authMethod.Type), fmt.Sprintf("Locality|%s", authMethod.TokenLocality), - fmt.Sprintf("MaxTokenTTL|%s", authMethod.MaxTokenTTL.String()), + fmt.Sprintf("Max Token TTL|%s", authMethod.MaxTokenTTL.String()), fmt.Sprintf("Default|%t", authMethod.Default), fmt.Sprintf("Create Index|%d", authMethod.CreateIndex), fmt.Sprintf("Modify Index|%d", authMethod.ModifyIndex), diff --git a/website/content/docs/commands/acl/auth-method/create.mdx b/website/content/docs/commands/acl/auth-method/create.mdx index 8a4e889a4..8cc6519a7 100644 --- a/website/content/docs/commands/acl/auth-method/create.mdx +++ b/website/content/docs/commands/acl/auth-method/create.mdx @@ -54,13 +54,13 @@ Create a new ACL Auth Method: ```shell-session $ nomad acl auth-method create -name "example-acl-auth-method" -type "OIDC" -max-token-ttl "1h" -token-locality "local" -config "@config.json" -Name = example-acl-auth-method -Type = OIDC -Locality = local -MaxTokenTTL = 1h0m0s -Default = false -Create Index = 14 -Modify Index = 14 +Name = example-acl-auth-method +Type = OIDC +Locality = local +Max Token TTL = 1h0m0s +Default = false +Create Index = 14 +Modify Index = 14 Auth Method Config diff --git a/website/content/docs/commands/acl/auth-method/info.mdx b/website/content/docs/commands/acl/auth-method/info.mdx index 7633c0838..1f7605213 100644 --- a/website/content/docs/commands/acl/auth-method/info.mdx +++ b/website/content/docs/commands/acl/auth-method/info.mdx @@ -34,13 +34,13 @@ Fetch information about an existing ACL Auth Method: ```shell-session $ nomad acl auth-method info example-acl-auth-method -Name = example-acl-auth-method -Type = OIDC -Locality = local -MaxTokenTTL = 1h0m0s -Default = false -Create Index = 14 -Modify Index = 14 +Name = example-acl-auth-method +Type = OIDC +Locality = local +Max Token TTL = 1h0m0s +Default = false +Create Index = 14 +Modify Index = 14 Auth Method Config diff --git a/website/content/docs/commands/acl/auth-method/update.mdx b/website/content/docs/commands/acl/auth-method/update.mdx index 283cf4d25..2dd8a9d66 100644 --- a/website/content/docs/commands/acl/auth-method/update.mdx +++ b/website/content/docs/commands/acl/auth-method/update.mdx @@ -62,13 +62,13 @@ Update an existing ACL auth method: ```shell-session $ nomad acl auth-method update -token-locality "global" -config @config.json example-acl-auth-method -Name = example-acl-auth-method -Type = OIDC -Locality = global -MaxTokenTTL = 1h0m0s -Default = false -Create Index = 14 -Modify Index = 33 +Name = example-acl-auth-method +Type = OIDC +Locality = global +Max Token TTL = 1h0m0s +Default = false +Create Index = 14 +Modify Index = 33 Auth Method Config