open-nomad/website/content/docs/commands/acl/token/info.mdx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
999 B
Plaintext
Raw Normal View History

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
```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
@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
$ 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
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
```