mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 03:15:42 +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
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: 'nomad acl token info command reference'
|
|
description: >
|
|
The `nomad acl token info` command fetches information about an access control list (ACL) token. Review accessor ID, secret ID, name, type, global scope, time to live (TTL), policies, and roles.
|
|
---
|
|
|
|
# `nomad acl token info` command reference
|
|
|
|
The `acl token info` command is used to fetch information about an existing ACL token.
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
nomad acl token info <token_accessor_id>
|
|
```
|
|
|
|
The `acl token info` command requires an existing token's AccessorID.
|
|
|
|
## Examples
|
|
|
|
Fetch information about an existing ACL token:
|
|
|
|
```shell-session
|
|
$ nomad acl token info 1b60edc8-e4ed-08ef-208d-ecc18a90ccc3
|
|
Accessor ID = 1b60edc8-e4ed-08ef-208d-ecc18a90ccc3
|
|
Secret ID = e4c7c80e-870b-c6a6-43d2-dbfa90130c06
|
|
Name = example-acl-token
|
|
Type = client
|
|
Global = false
|
|
Create Time = 2022-08-23 12:17:35.45067293 +0000 UTC
|
|
Expiry Time = 2022-08-23 20:17:35.45067293 +0000 UTC
|
|
Create Index = 142
|
|
Modify Index = 142
|
|
Policies = [example-acl-policy]
|
|
|
|
Roles
|
|
<none>
|
|
```
|
|
|
|
## General options
|
|
|
|
@include 'general_options_no_namespace.mdx'
|