HCVA0-003 practice question 22 of 35

True or False? Once the minimum decryption version is set on an encryption key, older versions of the key are removed from Vault and are no longer available for decryption operations.

Full set: 285 questions
Answer options
A: True Correct answer
B: False
Correct Answer:
F; A. True; L; S; E
Explanation

The statement is false because setting the mindecryptionversion on a key in the HashiCorp Vault Transit secrets engine does not remove or delete older key versions from storage. Instead, it acts as a policy control that prevents Vault from using any key version older than the specified minimum for decryption operations. The older key versions are retained within Vault's storage but are programmatically blocked from being used to decrypt data, effectively acting as a form of crypto-shredding without deleting the key material itself.

Why Incorrect

The statement "True" is incorrect because it misrepresents the mechanism of the mindecryptionversion parameter. The core inaccuracy is the claim that older key versions are "removed from Vault." Official documentation confirms that Vault explicitly retains all key versions unless they are manually and deliberately deleted. The mindecryptionversion setting is a policy enforcement feature, not a data deletion command.

References

1. HashiCorp Vault Official Documentation, "Transit Secrets Engine - Key Rotation": This document explicitly clarifies the behavior of key versions. It states, "Vault will not delete old versions of keys, allowing you to decrypt data that was encrypted with older versions of a key. You can, however, configure a mindecryptionversion for a key. If you do this, any attempts to decrypt data that was encrypted with a version of the key older than the configured minimum will be rejected." This directly contradicts the idea that older keys are removed.

Source: HashiCorp Vault Documentation, Secrets Engines, Transit, "Key Rotation" section.

2. HashiCorp Vault Official Documentation, "Transit Secrets Engine API - Update Key Configuration": The API documentation for the /transit/keys/:name/config endpoint defines the mindecryptionversion parameter. It describes its function as: "Specifies the minimum version of the key allowed for decryption. If set, this will forbid decryption of objects that were encrypted with key versions older than this value." The description focuses on forbidding an operation, not on removing data.

Source: HashiCorp Vault Documentation, Secrets Engines, Transit, API Reference, "Update Key Configuration" endpoint documentation.

Scroll to Top