This statement is partially correct. The command is indeed using the AppRole authentication method to log in with a specified role ID and secret ID. However, it’s not configuring the AppRole auth method; it’s using it to authenticate and obtain a token. Configuration of AppRole involves setting up roles and associated policies, which is not what this command is doing.
So, based on the information provided, the accurate description of the command and its output is not fully captured by any of the listed statements. The closest accurate statement is D, but it should be noted that the command is for authentication, not configuration.
auth/my-path/login API endpoint is used for authentication, but not configuring custom/static role_id/secret_id, so the right answer here should be A, since default policy is missing from the output.
Answer A
Correct statement as per https://developer.hashicorp.com/vault/docs/auth/approle#authentication and https://developer.hashicorp.com/vault/docs/auth/approle#credentials-constraints
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
nginx_aws
7 months, 2 weeks agogvyecvlc
7 months, 3 weeks ago3fac4ef
8 months, 3 weeks agodaz_rekka
10 months ago