VAULT-ASSOCIATE practice question 10 of 15

When unsealing Vault, each Shamir unseal key should be entered:

Full set: 57 questions
Answer options
A: Sequentially from one system that all of the administrators are in front of
B: By different administrators each connecting from different computers Correct answer
C: While encrypted with each administrators PGP key
D: At the command line in one single command
Correct Answer:
B. By different administrators each connecting from different computers
Explanation

The Shamir secret sharing algorithm is designed to distribute trust by splitting the master key among multiple individuals. The intended operational security practice is for each keyholder (administrator) to enter their unique unseal key independently. Having each administrator connect from a different computer upholds this distributed trust model, minimizing the risk that a single compromised system or malicious actor could capture the necessary quorum of keys to unseal Vault. This process is stateful; Vault tracks the number of keys provided until the threshold is met, regardless of where they originate.

Why Incorrect

A. Entering all keys from one system creates a single point of compromise, undermining the security principle of Shamir's secret sharing.
C. The unseal process does not involve PGP encryption for key entry. Transport security is managed by TLS, but the key itself is not PGP-encrypted for the command.
D. The vault operator unseal command is designed to accept only one key per execution, making it impossible to enter all keys in a single command.

References

1. HashiCorp Learn. (n.d.). Unseal Vault. HashiCorp. Retrieved from https://developer.hashicorp.com/vault/tutorials/getting-started/getting-started-unseal. In the "Unseal Vault" section, it states, "The unseal process is stateful. Each key can be entered by different people on different computers. Vault knows how many keys have been provided."

2. HashiCorp Vault Documentation. (n.d.). Operator Unseal Command. HashiCorp. Retrieved from https://developer.hashicorp.com/vault/docs/commands/operator/unseal. The command syntax vault operator unseal [options] demonstrates that only one key can be provided per command invocation.

3. HashiCorp Vault Documentation. (n.d.). Concepts - Architecture. HashiCorp. Retrieved from https://developer.hashicorp.com/vault/docs/concepts/architecture#security-barrier. The "Security Barrier" section explains the unsealing process requires a quorum of unseal keys, implying a distributed responsibility which is best fulfilled by separate individuals and systems.

Scroll to Top