./vault token-revoke --accessor c1ab6572-7c1f-ba12-0d3b-7ca3c0f5f3c0
Success! Token revoked if it existed.
./vault token-lookup --accessor <accessor>
error looking up token: Error making API request.
URL: POST https://<hostname>:8200/v1/auth/token/lookup-accessor
Code: 403. Errors:
* 1 error(s) occurred:
* permission denied
./vault token-lookup
Key Value
--- -----
accessor bla-bla
creation_time bla
creation_ttl 0
display_name token
explicit_max_ttl 0
id
meta <nil>
num_uses 0
orphan false
path auth/token/create
policies [root]
renewable false
ttl 0
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/a3840acd-6d5f-455a-af2c-0fbf728aa039%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/54238645-c52b-4ff1-bb68-0f647f528b9d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/da880586-b0f0-4ed0-a4be-5319fafd9719%40googlegroups.com.
vault mounts
Path Type Default TTL Max TTL Description
cubbyhole/ cubbyhole n/a n/a per-token private secret storage
pki/ pki system 315360000
secret/ generic system system generic secret storage
sys/ system n/a n/a system endpoints used for control, policy and debugging
{"time":"2017-05-04T06:30:32Z","type":"request","auth":{"client_token":"","accessor":"","display_name":"token","policies":["root"],"metadata":null},"request":{"id":"b7eb81e7-d757-60c3-50cb-487ba9411dc7","operation":"update","client_token":"hmac-sha256:3e5d41563c1b99c6bff8a9b14ded8db5f5f49ffb46d03fd971e5ae666623b587","path":"auth/token/lookup-accessor/c1ab6572-7c1f-ba12-0d3b-7ca3c0f5f3c0","data":null,"remote_address":"192.168.51.86","wrap_ttl":0},"error":""}
{"time":"2017-05-04T06:30:32Z","type":"response","error":"1 error(s) occurred:\n\n* permission denied","auth":{"client_token":"","accessor":"","display_name":"token","policies":["root"],"metadata":null},"request":{"id":"b7eb81e7-d757-60c3-50cb-487ba9411dc7","operation":"update","client_token":"hmac-sha256:3e5d41563c1b99c6bff8a9b14ded8db5f5f49ffb46d03fd971e5ae666623b587","path":"auth/token/lookup-accessor/c1ab6572-7c1f-ba12-0d3b-7ca3c0f5f3c0","data":null,"remote_address":"192.168.51.86","wrap_ttl":0},"response":{}}
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/1be32eff-fdae-417a-ab3b-5747d1f03ae0%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/b37de334-5ace-4bab-98b8-2f051f96f5f9%40googlegroups.com.