VAULT-ASSOCIATE-002 · Question #81
Your organization has an initiative to reduce and ultimately remove the use of long lived X.509 certificates. Which secrets engine will best support this use case?
The correct answer is A. PKI. The PKI secrets engine is best suited for replacing long-lived X.509 certificates as it dynamically generates short-lived certificates with configurable TTLs.
Question
Options
- APKI
- BKey/Value secrets engine version 2, with TTL defined
- CCloud KMS
- DTransit
How the community answered
(39 responses)- A92% (36)
- B3% (1)
- D5% (2)
Why each option
The PKI secrets engine is best suited for replacing long-lived X.509 certificates as it dynamically generates short-lived certificates with configurable TTLs.
The Vault PKI (Public Key Infrastructure) secrets engine is specifically designed to dynamically generate X.509 certificates, including options for configuring their Time-To-Live (TTL). This allows organizations to issue short-lived certificates on demand, fulfilling the requirement to reduce reliance on long-lived certificates and improve security posture.
The Key/Value (KV) secrets engine version 2 can store arbitrary data and manage its versions and TTLs, but it does not have the capability to dynamically generate X.509 certificates.
Cloud KMS (Key Management Service) is used for managing cryptographic keys and performing encryption operations in cloud environments, not for issuing X.509 certificates.
The Transit secrets engine provides "cryptography as a service" for encrypting and decrypting data without exposing the raw encryption key, but it is not designed to issue X.509 certificates.
Concept tested: Vault PKI secrets engine for dynamic X.509 certificates
Source: https://developer.hashicorp.com/vault/docs/secrets/pki
Topics
Community Discussion
No community discussion yet for this question.