nerdexam
HashiCorp

VAULT-ASSOCIATE-002 · Question #9

To give a role the ability to display or output all of the end points under the /secrets/apps/* end point it would need to have which capability set?

The correct answer is D. list. To view or enumerate all endpoints or keys within a specific path in Vault, the list capability is required in the associated policy.

Submitted by jian89· Apr 18, 2026Secure Vault

Question

To give a role the ability to display or output all of the end points under the /secrets/apps/* end point it would need to have which capability set?

Options

  • Aupdate
  • Bread
  • Csudo
  • Dlist
  • ENone of the above

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    8% (2)
  • D
    88% (21)

Why each option

To view or enumerate all endpoints or keys within a specific path in Vault, the `list` capability is required in the associated policy.

Aupdate

The `update` capability allows an entity to modify data at a path, not to enumerate existing paths or keys.

Bread

The `read` capability allows an entity to retrieve the content of a specific secret at a given path, but not to list all secrets or sub-paths within a directory-like structure.

Csudo

The `sudo` capability grants elevated privileges for specific operations, often to bypass other policy rules, but it's not the standard capability for simply listing paths.

DlistCorrect

The `list` capability in a Vault policy is specifically designed to allow an entity to enumerate (or list) the keys or sub-paths available at a given path prefix, such as `/secrets/apps/*`. Without the `list` capability, even if `read` is granted, an entity cannot discover what secrets exist within a 'directory' but must know the exact secret path.

ENone of the above

The `list` capability is indeed the correct one for this operation.

Concept tested: Vault policy capabilities (list)

Source: https://www.vaultproject.io/docs/concepts/policies#capabilities

Topics

#Vault Policies#ACL Capabilities#List Capability#Secret Paths

Community Discussion

No community discussion yet for this question.

Full VAULT-ASSOCIATE-002 Practice