nerdexam
HashiCorp

VAULT-ASSOCIATE-002 · Question #48

A user successfully logs into Vault with the following cURL command: curl --request POST --data @payload.json The response will include what information?

The correct answer is A. client_token and policies. Upon successful authentication, Vault returns a client token to the user, along with the policies that are associated with that token.

Submitted by ravi_2018· Apr 18, 2026Understand Vault Concepts

Question

A user successfully logs into Vault with the following cURL command: curl --request POST --data @payload.json The response will include what information?

Options

  • Aclient_token and policies
  • Baccess_key and policies
  • Caccess_key and secrets available
  • Dclient_token and secrets available

How the community answered

(38 responses)
  • A
    87% (33)
  • B
    3% (1)
  • C
    8% (3)
  • D
    3% (1)

Why each option

Upon successful authentication, Vault returns a client token to the user, along with the policies that are associated with that token.

Aclient_token and policiesCorrect

After a successful authentication request, Vault returns an authentication response that typically includes a `client_token` (the authentication token itself) and a list of `policies` that are attached to this newly issued token.

Baccess_key and policies

Vault issues a `client_token` upon login, not an `access_key`, and policies are returned, not secrets directly.

Caccess_key and secrets available

Vault issues a `client_token`, not an `access_key`, and the login response does not include secrets themselves, only the policies governing access to them.

Dclient_token and secrets available

The response includes `client_token` and `policies`, not the actual `secrets available`, as access to secrets requires further requests using the token.

Concept tested: Vault authentication response structure

Source: https://developer.hashicorp.com/vault/docs/concepts/auth#authentication-response

Topics

#Vault Authentication#API Response#Client Token#Policies

Community Discussion

No community discussion yet for this question.

Full VAULT-ASSOCIATE-002 Practice