github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/acl/auth-method/info.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: acl auth-method info' 4 description: | 5 The auth-method info command is used to fetch information about an existing 6 ACL Auth Method. 7 --- 8 9 # Command: acl auth-method info 10 11 The `acl auth-method info` command is used to fetch information about an existing ACL Auth Method. 12 13 ## Usage 14 15 ```plaintext 16 nomad acl auth-method info [options] <auth-method_name> 17 ``` 18 19 The `acl auth-method info` command requires an existing method's name. 20 21 ## General Options 22 23 @include 'general_options_no_namespace.mdx' 24 25 ## Info Options 26 27 - `-json`: Output the ACL auth method in a JSON format. 28 29 - `-t`: Format and display the ACL auth method using a Go template. 30 31 ## Examples 32 33 Fetch information about an existing ACL Auth Method: 34 35 ```shell-session 36 $ nomad acl auth-method info example-acl-auth-method 37 Name = example-acl-auth-method 38 Type = OIDC 39 Locality = local 40 MaxTokenTTL = 1h0m0s 41 Default = false 42 OIDC Discovery URL = https://my-corp-app-name.auth0.com/ 43 OIDC Client ID = V1RPi2MYptMV1RPi2MYptMV1RPi2MYpt 44 OIDC Client Secret = example-client-secret 45 Bound audiences = V1RPi2MYptMV1RPi2MYptMV1RPi2MYpt 46 Allowed redirects URIs = http://localhost:4646/oidc/callback 47 Discovery CA pem = <none> 48 Signing algorithms = <none> 49 Claim mappings = {http://example.com/first_name: first_name}; {http://example.com/last_name: last_name} 50 List claim mappings = {http://nomad.com/groups: groups} 51 Create Index = 14 52 Modify Index = 33 53 ```