VAULT-ASSOCIATE-002 · Question #28
Which of the following describes the Vault's auth method component?
The correct answer is B. It verifies a client against an internal or external system, and generates a token with policy. Vault's authentication methods are responsible for verifying a client's identity and, upon successful verification, issuing a token with associated policies for access control.
Question
Options
- AIt verifies a client against an internal or external system, and generates a token with the
- BIt verifies a client against an internal or external system, and generates a token with policy
- CIt is responsible for durable storage of client tokens
- DIt dynamically generates a unique set of secrets with appropriate permissions attached
How the community answered
(61 responses)- A3% (2)
- B87% (53)
- C8% (5)
- D2% (1)
Why each option
Vault's authentication methods are responsible for verifying a client's identity and, upon successful verification, issuing a token with associated policies for access control.
This option is incomplete as it misses the critical aspect of attaching *policy information* to the generated token, which is essential for authorization.
An authentication method's core function is to establish the identity of a client (user, machine, application) by verifying their credentials against an internal system (e.g., username/password) or an external system (e.g., LDAP, AWS IAM). Once authenticated, it issues a Vault token that is tied to specific policies, which define what the client is authorized to do within Vault.
The durable storage of client tokens (their metadata and revocation information) is handled by Vault's core backend, not specifically by the individual auth method components.
Dynamically generating unique sets of secrets with permissions is the primary function of *secrets engines*, not authentication methods.
Concept tested: Vault authentication method functionality
Source: https://developer.hashicorp.com/vault/docs/auth
Topics
Community Discussion
No community discussion yet for this question.