2017-09-17 04:06:16 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: acl token info'
|
2017-09-17 04:06:16 +00:00
|
|
|
description: >
|
2020-02-06 23:45:31 +00:00
|
|
|
The token info command is used to fetch information about an existing ACL
|
|
|
|
token.
|
2017-09-17 04:06:16 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Command: acl token info
|
|
|
|
|
|
|
|
The `acl token info` command is used to fetch information about an existing ACL token.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```plaintext
|
2017-09-17 04:06:16 +00:00
|
|
|
nomad acl token info <token_accessor_id>
|
|
|
|
```
|
|
|
|
|
|
|
|
The `acl token info` command requires an existing token's AccessorID.
|
|
|
|
|
|
|
|
## General Options
|
|
|
|
|
2020-11-19 18:02:48 +00:00
|
|
|
@include 'general_options_no_namespace.mdx'
|
2017-09-17 04:06:16 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Fetch information about an existing ACL token:
|
|
|
|
|
2020-05-18 20:53:06 +00:00
|
|
|
```shell-session
|
2022-08-31 14:13:47 +00:00
|
|
|
$ 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
|
2017-09-17 04:06:16 +00:00
|
|
|
Type = client
|
|
|
|
Global = false
|
2022-08-31 14:13:47 +00:00
|
|
|
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>
|
2017-09-17 04:06:16 +00:00
|
|
|
```
|