Vault Enterprise's Performance Replication lets you scale out reads, but you often do not want every mount replicated. Mount Filters are the mechanism that lets you control, from the primary, which mounts (secrets engines / auth methods) are replicated to secondaries.
This article walks through Mount Filters from an Ops perspective: design considerations, configuration and verification steps, and troubleshooting fundamentals. We stick to stable concepts that align with the official Vault documentation.
Mount Filters are a Vault Enterprise feature for Performance Replication that restrict which mounts replicate from primary to secondary. In practice they are most often used to exclude sensitive mounts, or to safely narrow scope with an Allowlist mode that permits only specific mounts.
Key prerequisite: Mount Filters control Performance Replication. DR Replication assumes a consistent full copy of all data, so per-mount filtering does not apply there. Mount Filters are configured on the primary and evaluated according to the replication topology.
By default (with no Mount Filters configured), Performance Replication replicates ordinary mounts to secondaries. Vault's internal/system paths and explicitly-local mounts (Local Mount, discussed below) are out of scope.
Once Mount Filters are configured, the primary includes or excludes mounts according to the rules. Allowlist means 'replicate only what is listed,' and Denylist means 'exclude what is listed, replicate everything else.' Avoid complex conflicting rules — pick one consistent policy and design around it.
Conceptual diagram of Mount Filters (Performance Replication)
Design Mount Filters alongside Local Mount, Namespaces, and DR Replication. The comparison below clarifies the points most commonly confused on the exam and in the field.
| Feature | Layer / Purpose | Scope | Primary use |
|---|---|---|---|
| Mount Filters (Performance) | Replication path control | Mounts (path prefix match) | Allow/exclude replication (Allowlist/Denylist) |
| Local Mount | Mount attribute | Individual mount | Local-only operation; the mount is not replicated |
| Namespaces | Logical separation / permission boundary | Org / environment level | Separation and delegation of operations and permissions |
| DR Replication | Availability (failover) | Whole cluster | Complete, consistent copy |
The procedure below is a typical example. Actual API paths and fine-grained parameters can differ by edition and version, so check the official documentation before doing the work. For production especially, we strongly recommend rehearsing in a test environment with the same configuration.
The four key points are: 1) inventory current mounts and dependencies, 2) design the filter (Allowlist recommended), 3) apply in stages, and 4) prepare a rollback procedure in advance.
CLI example (conceptual — verify the actual paths/parameters against the official docs in your environment)
# 1) 現行のレプリケーション状態を確認(役割/健全性)
$ vault read -format=json sys/replication/status | jq .
# 2) 現行のマウント(シークレットエンジン)と認証メソッドを棚卸し
$ vault read -format=json sys/mounts | jq '.data | keys'
$ vault read -format=json sys/auth | jq '.data | keys'
# 3) Mount Filters(Allowlist)の設定例
# 例: kv/prod/ と transit/ のみ複製する
# 注: 実際のエンドポイント名やフィールドはバージョンで異なる可能性あり
$ vault write sys/replication/performance/primary/mount-filter \
mode=allowlist \
paths=kv/prod/*,transit/*
# 4) 設定の確認(フィルタ内容)
$ vault read sys/replication/performance/primary/mount-filter
# 5) セカンダリでの結果確認(対象マウントが見える/読めること)
# 読み取りはセカンダリでローカルに終了するが、書き込みはプライマリにフォワードされる点を理解して検証
$ vault login <secondary_token>
$ vault kv get kv/prod/sample
$ vault kv get kv/pii/sample # 期待: フィルタで除外されていれば不可視/非該当
# 6) ロールバック(フィルタの削除/緩和)
$ vault delete sys/replication/performance/primary/mount-filter
# 7) 変更後のレプリケーション健全性と遅延を再確認
$ vault read -format=json sys/replication/status | jq .Because filter changes trigger replication re-evaluation, secure a change window and a rollback plan. If the set of mounts visible from a secondary shrinks, client authorization flows and dependent jobs can fail — upfront impact analysis is mandatory.
For monitoring, watch replication lag, failure counters, and secondary error logs (permission denied, path not found) together. Understand in advance how the audit log records access attempts to excluded mounts, and bake that into your runbooks.
The exam frequently asks you to cleanly separate where Mount Filters apply, how they differ from DR, and how their role differs from Local Mount and Namespaces.
Ops
問題 1
You are running Performance Replication on Vault Enterprise. You have a mount kv/pii/ that you do not want replicated to secondaries, while continuing to replicate the others with minimal impact on existing clients. Which approach is most appropriate?
正解: A
Mount Filters are the replication-scope control for Performance Replication, which is exactly the use case here. Unmounting on the secondary risks breaking configuration consistency, DR assumes a complete copy, and Local Mount assigns local semantics — it is not a substitute for Mount Filters.
Can Mount Filters be applied to auth methods (auth/) as well?
Yes. In Vault, both secrets engines and auth methods are treated as 'mounts' and can be addressed by path. Some system/internal paths are out of scope, however, and behavior can depend on implementation and version, so check the official documentation for eligibility before applying filters.
Can I set different filters for each secondary?
Mount Filters are typically evaluated on the primary and act at the level of the replication topology. If you need different behavior for a specific secondary, the safer design is to split the topology (create a separate secondary). Versions may differ, so validate the behavior in a test environment first if needed.
What happens to data already on the secondary when I change a filter?
How that data is handled after the change (whether it is retained or de-scoped, and when cleanup happens) depends on the version and configuration. Operationally, rehearse the change in a test environment and lock in a change window plus a rollback procedure.
Practice with certification-focused question sets
無料で問題を解いてみるNicheeLab Editorial Team
NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.
Vault Core Concepts: Sealed/Unsealed, Auth, Secrets (2026)
Vault fundamentals — sealed/unsealed state, auth methods, se...
Vault Operations Professional (VOP-003): Complete Guide (2026)
Pass the Vault Operations Professional exam — enterprise pat...
Vault Path-Based Routing: API URL Structure (2026)
How Vault's path-based routing works — mount points, sub-pat...
Vault Tokens: Auth Token Mechanics (2026)
Token fundamentals — service vs. batch tokens, accessor, ren...
Vault Token Types: Service, Batch, Periodic (2026)
Service vs. batch tokens compared — performance, ACL behavio...