HashiCorp Certified: Vault Associate (002) — Question 15

Which of the following statements describe the CLI command below?
$ vault login -method=ldap username=mitchellh

Answer options

Correct answer: B

Explanation

The correct answer is B because when using the 'vault login' command with LDAP, the user is prompted to enter their password after specifying their username. Options A, C, and D are incorrect because the command does not generate a response-wrapped token, the default token validity is not relevant here, and the command will not fail solely due to a missing password prompt.