HashiCorp Certified: Vault Associate (002) — Question 22
To give a role the ability to display or output all of the end points under the /secrets/apps/* end point it would need to have which capability set?
Answer options
- A. update
- B. read
- C. sudo
- D. list
- E. None of the above
Correct answer: D
Explanation
The correct answer is D, as the 'list' capability specifically allows a role to view and output endpoints. The 'update' and 'read' capabilities are insufficient for displaying all endpoints, while 'sudo' is a privilege escalation command and irrelevant in this context. 'None of the above' is incorrect since 'list' is the appropriate capability needed.