mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 22:21:30 +01:00
docs: update token lookup response
This commit is contained in:
parent
3b4585368f
commit
73df4a6f8b
@ -180,18 +180,30 @@ $ curl \
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"data": {
|
"data": {
|
||||||
"id": "ClientToken",
|
"accessor": "8609694a-cdbc-db9b-d345-e782dbb562ed",
|
||||||
"policies": [
|
"creation_time": 1523979354,
|
||||||
"web",
|
"creation_ttl": 2764800,
|
||||||
"stage"
|
"display_name": "ldap2-tesla",
|
||||||
],
|
"entity_id": "7d2e3179-f69b-450c-7179-ac8ee8bd8ca9",
|
||||||
"path": "auth/github/login",
|
"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": {
|
"meta": {
|
||||||
"user": "armon",
|
"username": "tesla"
|
||||||
"organization": "hashicorp"
|
|
||||||
},
|
},
|
||||||
"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
|
```json
|
||||||
{
|
{
|
||||||
"data": {
|
"data": {
|
||||||
"id": "ClientToken",
|
"accessor": "8609694a-cdbc-db9b-d345-e782dbb562ed",
|
||||||
"policies": [
|
"creation_time": 1523979354,
|
||||||
"web",
|
"creation_ttl": 2764800,
|
||||||
"stage"
|
"display_name": "ldap2-tesla",
|
||||||
],
|
"entity_id": "7d2e3179-f69b-450c-7179-ac8ee8bd8ca9",
|
||||||
"path": "auth/github/login",
|
"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": {
|
"meta": {
|
||||||
"user": "armon",
|
"username": "tesla"
|
||||||
"organization": "hashicorp"
|
|
||||||
},
|
},
|
||||||
"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