A DevOps team is using Vault tokens for authentication in CI/CD pipelines. They notice that tokens are often expired before the pipeline completes, causing failures. Which Vault feature should they use to address this without manual intervention?
Trap 1: Use batch tokens for better performance
Batch tokens are non-renewable and expire after their TTL.
Trap 2: Create orphan tokens so they don't expire with the parent
Orphan tokens still have a TTL and expire.
Trap 3: Increase the default TTL on the token auth method
Increasing TTL only delays expiration but doesn't allow renewal.
- A
Use batch tokens for better performance
Why wrong: Batch tokens are non-renewable and expire after their TTL.
- B
Use periodic tokens with a short period and allow renewal
Periodic tokens can be renewed before expiration as long as they are within max TTL.
- C
Create orphan tokens so they don't expire with the parent
Why wrong: Orphan tokens still have a TTL and expire.
- D
Increase the default TTL on the token auth method
Why wrong: Increasing TTL only delays expiration but doesn't allow renewal.