ExamGecko
Question list
Search
Search

Question 30 - Vault Associate 002 discussion

Report
Export

Where does the Vault Agent store its cache?

A.
In a file encrypted using the Vault transit secret engine
Answers
A.
In a file encrypted using the Vault transit secret engine
B.
In the Vault key/value store
Answers
B.
In the Vault key/value store
C.
In an unencrypted file
Answers
C.
In an unencrypted file
D.
In memory
Answers
D.
In memory
Suggested answer: D

Explanation:

The Vault Agent stores its cache in memory, which means that it does not persist the cached tokens and secrets to disk or any other storage backend. This makes the cache more secure and performant, as it avoids exposing the sensitive data to potential attackers or unauthorized access. However, this also means that the cache is volatile and will be lost if the agent process is terminated or restarted. To mitigate this, the agent can optionally use a persistent cache file to restore the tokens and leases from a previous agent process. The persistent cache file is encrypted using a key derived from the agent's auto-auth token and a nonce, and it is stored in a user-specified location on disk.Reference:Caching - Vault Agent | Vault | HashiCorp Developer,Vault Agent Persistent Caching | Vault | HashiCorp Developer

asked 18/09/2024
Marcos Davila
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first