You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In both the above cases, I see that "orphan/no_parent" is set to 'false' which is incorrect.
This issue was found on v0.5.2 of Vault.
This looks like a display bug because, I revoked the "root" vault token, but was able to read secret data stored in Vault with the newly created token.
Additional info :
I am creating an orphan token using the REST API:
http://localhost:8200/v1/auth/token/create-orphan
{
"ttl":"720h",
"num_uses": 0,
"policies": ["test-policy"]
}
Token gets created, and lookup on the created token yields the following result:
{
"lease_id":"",
"renewable":false,
"lease_duration":0,
"data": {
"accessor":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"creation_time":1459952118,
"creation_ttl":2592000,
"display_name":"token",
"id":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"meta":null,
"num_uses":0,
"orphan":true,
"path":"auth/token/create",
"policies":["default","test-policy"],
"role":"test-role",
"ttl":0
},
"warnings":null,
"auth":null
}
Observe that token created with this REST API has "orphan":true.
The text was updated successfully, but these errors were encountered:
With reference to the issue : Token backend documentation inconsistencies
I try creating an "orphan" token from the command line in the following way:
I try to create a "orphan" token from the REST API in the following way:
http://localhost:8200/v1/auth/token/create/test-role
Header
Body
Response: 200 OK
Then I do a "lookup-self" on that token:
In both the above cases, I see that "orphan/no_parent" is set to 'false' which is incorrect.
This issue was found on v0.5.2 of Vault.
This looks like a display bug because, I revoked the "root" vault token, but was able to read secret data stored in Vault with the newly created token.
Additional info :
I am creating an orphan token using the REST API:
Observe that token created with this REST API has "orphan":true.
The text was updated successfully, but these errors were encountered: