mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 06:01:08 +01:00
docs: update token lookup response
This commit is contained in:
parent
3b4585368f
commit
73df4a6f8b
@ -180,18 +180,30 @@ $ curl \
|
||||
```json
|
||||
{
|
||||
"data": {
|
||||
"id": "ClientToken",
|
||||
"policies": [
|
||||
"web",
|
||||
"stage"
|
||||
],
|
||||
"path": "auth/github/login",
|
||||
"accessor": "8609694a-cdbc-db9b-d345-e782dbb562ed",
|
||||
"creation_time": 1523979354,
|
||||
"creation_ttl": 2764800,
|
||||
"display_name": "ldap2-tesla",
|
||||
"entity_id": "7d2e3179-f69b-450c-7179-ac8ee8bd8ca9",
|
||||
"expire_time": "2018-05-19T11:35:54.466476215-04:00",
|
||||
"explicit_max_ttl": 0,
|
||||
"id": "cf64a70f-3a12-3f6c-791d-6cef6d390eed",
|
||||
"identity_policies": [
|
||||
"dev-group-policy"
|
||||
],
|
||||
"issue_time": "2018-04-17T11:35:54.466476078-04:00",
|
||||
"meta": {
|
||||
"user": "armon",
|
||||
"organization": "hashicorp"
|
||||
"username": "tesla"
|
||||
},
|
||||
"display_name": "github-armon",
|
||||
"num_uses": 0
|
||||
"num_uses": 0,
|
||||
"orphan": true,
|
||||
"path": "auth/ldap2/login/tesla",
|
||||
"policies": [
|
||||
"default",
|
||||
"testgroup2-policy"
|
||||
],
|
||||
"renewable": true,
|
||||
"ttl": 2764790
|
||||
}
|
||||
}
|
||||
```
|
||||
@ -217,18 +229,30 @@ $ curl \
|
||||
```json
|
||||
{
|
||||
"data": {
|
||||
"id": "ClientToken",
|
||||
"policies": [
|
||||
"web",
|
||||
"stage"
|
||||
],
|
||||
"path": "auth/github/login",
|
||||
"accessor": "8609694a-cdbc-db9b-d345-e782dbb562ed",
|
||||
"creation_time": 1523979354,
|
||||
"creation_ttl": 2764800,
|
||||
"display_name": "ldap2-tesla",
|
||||
"entity_id": "7d2e3179-f69b-450c-7179-ac8ee8bd8ca9",
|
||||
"expire_time": "2018-05-19T11:35:54.466476215-04:00",
|
||||
"explicit_max_ttl": 0,
|
||||
"id": "cf64a70f-3a12-3f6c-791d-6cef6d390eed",
|
||||
"identity_policies": [
|
||||
"dev-group-policy"
|
||||
],
|
||||
"issue_time": "2018-04-17T11:35:54.466476078-04:00",
|
||||
"meta": {
|
||||
"user": "armon",
|
||||
"organization": "hashicorp"
|
||||
"username": "tesla"
|
||||
},
|
||||
"display_name": "github-armon",
|
||||
"num_uses": 0
|
||||
"num_uses": 0,
|
||||
"orphan": true,
|
||||
"path": "auth/ldap2/login/tesla",
|
||||
"policies": [
|
||||
"default",
|
||||
"testgroup2-policy"
|
||||
],
|
||||
"renewable": true,
|
||||
"ttl": 2764790
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user