After creating a dynamic credential on a database, the DBA accidentally deletes the credentials on the database itself. When attempting to remove the lease, Vault returns an error stating that the
credential cannot be found. What command can be run to coerce Vault to remove the secret?
- vault lease -renew
- vault lease revoke -force -prefix <lease_path>
- vault revoke -apply
- vault lease revoke -enforce
Answer(s): B
Explanation:
The -force flag is meant for recovery when the secret in the target secrets engine was manually deleted.
Reveal Solution Next Question