mirror of
https://github.com/kemko/nomad.git
synced 2026-01-13 05:45:41 +03:00
* sectionless files plus acl section * alloc section * config, deployment sections * job section * licence, namespace * node, node-pool * operator * plugin, quota, recommendation * scaling, sentinel, server, service, system, var, volume * Add "ENT" label to left nav for enterprise commands * job tag break into separate folder and files; update options header
57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: 'nomad acl auth-method info command reference'
|
|
description: |
|
|
The `nomad auth-method info` command fetches information about an existing access control list (ACL) authentication method. Review name, type, description, locality, time to live (TTL), token name format, and authentication method configuration.
|
|
---
|
|
|
|
# `nomad acl auth-method info` command reference
|
|
|
|
The `acl auth-method info` command is used to fetch information about an existing ACL Auth Method.
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
nomad acl auth-method info [options] <auth-method_name>
|
|
```
|
|
|
|
The `acl auth-method info` command requires an existing method's name.
|
|
|
|
## Options
|
|
|
|
- `-json`: Output the ACL auth method in a JSON format.
|
|
|
|
- `-t`: Format and display the ACL auth method using a Go template.
|
|
|
|
## Examples
|
|
|
|
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
|
|
Max Token TTL = 1h0m0s
|
|
Token Name Format = ${auth_method_type}-${auth_method_name}
|
|
Default = false
|
|
Create Index = 14
|
|
Modify Index = 14
|
|
|
|
Auth Method Config
|
|
|
|
OIDC Discovery URL = https://my-corp-app-name.auth0.com/
|
|
OIDC Client ID = V1RPi2MYptMV1RPi2MYptMV1RPi2MYpt
|
|
OIDC Client Secret = example-client-secret
|
|
Bound audiences = V1RPi2MYptMV1RPi2MYptMV1RPi2MYpt
|
|
Allowed redirects URIs = http://localhost:4646/oidc/callback
|
|
Discovery CA pem = <none>
|
|
Signing algorithms = <none>
|
|
Claim mappings = {http://example.com/first_name: first_name}; {http://example.com/last_name: last_name}
|
|
List claim mappings = {http://nomad.com/groups: groups}
|
|
```
|
|
|
|
## General options
|
|
|
|
@include 'general_options_no_namespace.mdx'
|