mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
add documentation for token info
This commit is contained in:
@@ -25,6 +25,7 @@ subcommands are available:
|
||||
* [`acl policy info`][policyinfo] - Fetch information on an existing ACL policy
|
||||
* [`acl token create`][tokencreate] - Create new ACL token
|
||||
* [`acl token delete`][tokendelete] - Delete an existing ACL token
|
||||
* [`acl token info`][tokeninfo] - Get info on an existing ACL token
|
||||
|
||||
[bootstrap]: /docs/commands/acl/bootstrap.html
|
||||
[policyapply]: /docs/commands/acl/policy-apply.html
|
||||
@@ -32,4 +33,5 @@ subcommands are available:
|
||||
[policyinfo]: /docs/commands/acl/policy-info.html
|
||||
[tokencreate]: /docs/commands/acl/token-create.html
|
||||
[tokendelete]: /docs/commands/acl/token-delete.html
|
||||
[tokeninfo]: /docs/commands/acl/token-info.html
|
||||
|
||||
|
||||
40
website/source/docs/commands/acl/token-info.html.md.erb
Normal file
40
website/source/docs/commands/acl/token-info.html.md.erb
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "Commands: acl token info"
|
||||
sidebar_current: "docs-commands-acl-token-info"
|
||||
description: >
|
||||
The token create 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
|
||||
|
||||
```
|
||||
nomad acl token info <token_accessor_id>
|
||||
```
|
||||
|
||||
The `acl token info` command requires an existing token's AccessorID.
|
||||
|
||||
## General Options
|
||||
|
||||
<%= partial "docs/commands/_general_options" %>
|
||||
|
||||
## Examples
|
||||
|
||||
Fetch information about an existing ACL token:
|
||||
|
||||
```
|
||||
$ nomad acl token info d532c40a-30f1-695c-19e5-c35b882b0efd
|
||||
Accessor ID = d532c40a-30f1-695c-19e5-c35b882b0efd
|
||||
Secret ID = 85310d07-9afa-ef53-0933-0c043cd673c7
|
||||
Name = my token
|
||||
Type = client
|
||||
Global = false
|
||||
Policies = [foo bar]
|
||||
Create Time = 2017-09-15 05:04:41.814954949 +0000 UTC
|
||||
Create Index = 8
|
||||
Modify Index = 8
|
||||
```
|
||||
Reference in New Issue
Block a user