- Update sample `payload.json` - Update sample response
This commit is contained in:
parent
a5e762d36a
commit
39676b0b74
|
@ -115,7 +115,7 @@ during this call.
|
||||||
"web",
|
"web",
|
||||||
"stage"
|
"stage"
|
||||||
],
|
],
|
||||||
"metadata": {
|
"meta": {
|
||||||
"user": "armon"
|
"user": "armon"
|
||||||
},
|
},
|
||||||
"ttl": "1h",
|
"ttl": "1h",
|
||||||
|
@ -137,17 +137,37 @@ $ curl \
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"request_id": "f00341c1-fad5-f6e6-13fd-235617f858a1",
|
||||||
|
"lease_id": "",
|
||||||
|
"renewable": false,
|
||||||
|
"lease_duration": 0,
|
||||||
|
"data": null,
|
||||||
|
"wrap_info": null,
|
||||||
|
"warnings": [
|
||||||
|
"Policy \"stage\" does not exist",
|
||||||
|
"Policy \"web\" does not exist"
|
||||||
|
],
|
||||||
"auth": {
|
"auth": {
|
||||||
"client_token": "ABCD",
|
"client_token": "s.wOrq9dO9kzOcuvB06CMviJhZ",
|
||||||
|
"accessor": "B6oixijqmeR4bsLOJH88Ska9",
|
||||||
"policies": [
|
"policies": [
|
||||||
"web",
|
"default",
|
||||||
"stage"
|
"stage",
|
||||||
|
"web"
|
||||||
|
],
|
||||||
|
"token_policies": [
|
||||||
|
"default",
|
||||||
|
"stage",
|
||||||
|
"web"
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"user": "armon"
|
"user": "armon"
|
||||||
},
|
},
|
||||||
"lease_duration": 3600,
|
"lease_duration": 3600,
|
||||||
"renewable": true
|
"renewable": true,
|
||||||
|
"entity_id": "",
|
||||||
|
"token_type": "service",
|
||||||
|
"orphan": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue