HashiCorp Certified: Vault Associate (002) — Question 67
To create a non-root token with time-to-live (TTL) set to 30 minutes but with no max TTL which flag would you use?
Answer options
- A. -ttl=30n
- B. -explicit-max-ttl=0
- C. -orphan
- D. None of the above
Correct answer: A
Explanation
The correct answer is A, as the -ttl flag allows you to specify the time-to-live for the token. Option B sets an explicit maximum TTL which is not required for this scenario, while option C relates to token orphaning and option D states that none of the options are valid, which is incorrect.