HashiCorp Certified: Vault Associate (002) — Question 9
What is the Vault CLI command to query information about the token the client is currently using?
Answer options
- A. vault lookup token
- B. vault token lookup
- C. vault lookup self
- D. vault self lookup
Correct answer: B
Explanation
The correct answer is B, 'vault token lookup', which specifically retrieves information about the client's current token. Option A, 'vault lookup token', is incorrect as it does not follow the correct command syntax. Options C and D, 'vault lookup self' and 'vault self lookup', are unrelated commands that provide information about the client itself, not the token.