ExamGecko
Question list
Search
Search

Question 11 - Vault Associate 002 discussion

Report
Export

You are using the Vault userpass auth method mounted at auth/userpass. How do you create a new user named 'sally' with password 'h0wN0wB4r0wnC0w'? This new user will need the power-users policy.

A.
Answers
A.
B.
Answers
B.
C.
Answers
C.
D.
Answers
D.
Suggested answer: D

Explanation:

To create a new user named ''sally'' with password ''h0wN0wB4r0wnC0w'' and the power-users policy, you would use the Vault userpass auth method mounted at auth/userpass. You would use the following command: ''vault write auth/userpass/users/sally password=h0wN0wB4r0wnC0w policies=power-users''. This command would create a new user named ''sally'' with the specified password and policy.Reference:

[Userpass Auth Method | Vault | HashiCorp Developer]

[Create Vault policies | Vault | HashiCorp Developer]

asked 18/09/2024
Aaron Ford Jr
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first