Exam HCVA0-003 Topic 1 Question 68 Discussion
Actual exam question for HashiCorp's HCVA0-003 exam
Question #: 68
Topic #: 1
Question #: 68
Topic #: 1
What is the default TTL for tokens in Vault if one is not specified?
Suggested Answer: C Vote an answer
Comprehensive and Detailed In-Depth Explanation:
In HashiCorp Vault, thedefault TTL (Time To Live)for tokens, when not explicitly specified, is768 hours, equivalent to32 days. This applies to both the initial TTL and the maximum TTL unless overridden.
* Default Configuration: The documentation states: "When no specific TTL is provided, a generated token will inherit the default TTL which is 768 hours (32 days)." This long default ensures usability in many scenarios while allowing customization.
* Customization Option: Operators can adjust this using commands like vault write sys/mounts/auth
/token/tune default_lease_ttl=1h max_lease_ttl=24h, but without such tuning, 768 hours applies.
* Incorrect Options:
* A. 24 hours: Too short for Vault's default; it's a common custom setting instead.
* B. 15 minutes: Far too brief and not aligned with Vault's defaults.
* D. 60 minutes: Another common custom value, not the default.
This default balances usability with security, encouraging explicit configuration for shorter-lived tokens when needed.
Reference:https://developer.hashicorp.com/vault/docs/concepts/tokens
In HashiCorp Vault, thedefault TTL (Time To Live)for tokens, when not explicitly specified, is768 hours, equivalent to32 days. This applies to both the initial TTL and the maximum TTL unless overridden.
* Default Configuration: The documentation states: "When no specific TTL is provided, a generated token will inherit the default TTL which is 768 hours (32 days)." This long default ensures usability in many scenarios while allowing customization.
* Customization Option: Operators can adjust this using commands like vault write sys/mounts/auth
/token/tune default_lease_ttl=1h max_lease_ttl=24h, but without such tuning, 768 hours applies.
* Incorrect Options:
* A. 24 hours: Too short for Vault's default; it's a common custom setting instead.
* B. 15 minutes: Far too brief and not aligned with Vault's defaults.
* D. 60 minutes: Another common custom value, not the default.
This default balances usability with security, encouraging explicit configuration for shorter-lived tokens when needed.
Reference:https://developer.hashicorp.com/vault/docs/concepts/tokens
by Gwendolyn at Apr 15, 2025, 06:10 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).