Vault Policy and Mounts Guide | Generated by AI

Home 2026.02

I’ll help explain Vault policy and the sys/mounts path.

Vault Policy

In HashiCorp Vault, a policy is a set of rules that defines what operations a user or application can perform on specific paths within Vault. Policies are written in HashiCorp Configuration Language (HCL) or JSON and follow a deny-by-default model—if something isn’t explicitly allowed, it’s denied.

A basic policy looks like this:

path "secret/data/myapp/*" {
  capabilities = ["create", "read", "update", "delete", "list"]
}

path "sys/mounts" {
  capabilities = ["read"]
}

The main capabilities you can grant are:

The sys/mounts Path

sys/mounts is a system backend path in Vault that deals with secrets engines management. Specifically:

Common operations on sys/mounts:

For example, granting read access allows someone to see what secrets engines are mounted, while create/delete would let them modify Vault’s configuration—typically requiring admin privileges.


Back Donate