open-nomad/website/content/docs/commands/acl/token/info.mdx
James Rasell 986355bcd9
docs: add documentation for ACL token expiration and ACL roles. (#14332)
The ACL command docs are now found within a sub-dir like the
operator command docs. Updates to the ACL token commands to
accommodate token expiry have also been added.

The ACL API docs are now found within a sub-dir like the operator
API docs. The ACL docs now include the ACL roles endpoint as well
as updated ACL token endpoints for token expiration.

The configuration section is also updated to accommodate the new
ACL and server parameters for the new ACL features.
2022-08-31 16:13:47 +02:00

45 lines
999 B
Plaintext

---
layout: docs
page_title: 'Commands: acl token info'
description: >
The token info command is used to fetch information about an existing ACL
token.
---
# Command: acl token info
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.
## General Options
@include 'general_options_no_namespace.mdx'
## 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>
```