Skip to content
Back to skills

Hashicorp Vault Knowledge Patch

ASecurity

HashiCorp Vault

  • 25 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
developmentgodockerkubernetesawsgcpazureterraformapidatabasesecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill hashicorp-vault-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hashicorp Vault Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hashicorp Vault Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-hashicorp-vault-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-hashicorp-vault-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hashicorp-vault-knowledge-patch
description: HashiCorp Vault
version: "2.2.2"
license: MIT
metadata:
  author: Nevaberry
---


# HashiCorp Vault

Load this skill when configuring, upgrading, or troubleshooting Vault
authentication, policies, secrets engines, replication, plugins, or clients.
Use the topic references for API details, edition constraints, known issues,
and patch-specific behavior.

## Reference index

| Reference | Topics |
| --- | --- |
| [Operations and upgrades](references/operations-and-upgrades.md) | Upgrade planning, operator authentication, request validation, HCL, containers, Raft, seals, snapshot recovery |
| [Authentication and policy](references/authentication-and-policy.md) | ACLs, LDAP, cloud and certificate auth, MFA, identity, SCIM, SPIFFE, Agent Registry, OAuth, quotas |
| [Secrets and rotation](references/secrets-and-rotation.md) | Rotation Manager, LDAP, AWS, Azure, databases, local accounts, Secret Sync, KV, cloud import |
| [PKI and cryptography](references/pki-and-cryptography.md) | Issuance constraints, ACME, SCEP, External CA, Transit, SSH, managed keys, KMIP, TLS, FIPS |
| [Audit, events, and telemetry](references/audit-events-and-telemetry.md) | Audit permissions, sensitive fields, events, reports, client counts, billing, utilization metrics |
| [Plugins, UI, and clients](references/plugins-ui-and-clients.md) | Plugin registration, signing, GUI workflows, Agent, Proxy, CLI, Go APIs, Terraform, Kubernetes |

## Breaking changes and upgrade preparation

### HCL and policy parameters

Before upgrading, search server logs for `policy contains duplicate attributes`
and correct affected policies. Once unique attributes are enforced, creating or
using a token that references an affected policy can fail.
Vault 1.21 rejects duplicate HCL attributes; its temporary
`VAULT_ALLOW_PENDING_REMOVAL_DUPLICATE_HCL_ATTRIBUTES` switch downgrades errors
to warnings. In 2.0.4 the switch is removed and duplicates are unconditional
parse errors in server configuration and policies.

Whole-list exact matching for `allowed_parameters` and `denied_parameters`
is retired in 1.21.x. Update policies for per-element matching; during the
1.21 deprecation window, `VAULT_LEGACY_EXACT_MATCHING_ON_LIST=true` temporarily
keeps whole-list comparison when set in the server environment.
In 2.0.4, Vault lowercases policy names in the `policies` request parameter
before checking parameter constraints; use lowercase names in those constraints.

### Operator authentication and request paths

In 1.19.17, `sys/generate-root`,
`sys/replication/dr/secondary/generate-operation-token`, and `sys/rekey`
require authentication by default. The `enable_unauthenticated_access` server
setting can retain unauthenticated access to specific operations on that release.
Vault 2.0.0 requires a valid Vault token alongside seal or recovery key fragments
for rekey, root-token generation, and DR operation-token generation.
Include the in-progress operation's nonce when cancelling a rekey; see the
operations reference for the affected patches on each release line.

Normalize API paths: 2.0.0 rejects `/../`, `/./`, and `//` components.
Patched 1.x releases differ between rejecting and redirecting noncanonical paths.
The operations reference preserves those patch-specific behaviors.
In Enterprise 2.0, oversized token headers return HTTP 431 before token validation.
`max_token_header_size` defaults to 8192 bytes and caps token values in
`X-Vault-Token` and `Authorization: Bearer`; increase it in the existing TCP
listener stanza if JWT or OIDC tokens exceed that default.

### Templated policy paths and denials

In 2.0.1, identity-template expansion introducing `+` or `*` causes
`permission denied`; 1.20.11 and 1.21.6 also reject these expansions.
Use concrete identity metadata values and keep intentional wildcards directly
in the policy path. In 2.0.4, the global HCL option
`deny_slash_in_templated_path` rejects template-introduced slashes when enabled;
it defaults to `false`.
Explicit ACL `deny` rules match paths case-insensitively under the usual
path-specificity rules. Enterprise 1.20.13 LIST requests with a trailing slash
honor more-specific deny rules and can start returning permission errors.

### Containers, audit files, and RSA keys

Vault 1.20 requires an explicit `disable_mlock` setting for integrated storage.
`disable_mlock = true` disables memory locking.
Container user, `IPC_LOCK`, and packaging behavior varies by patch and edition;
use the operations reference for the applicable requirements.
For the Enterprise 2.0.0 startup error
`unable to set CAP_SETFCAP effective capability`, set `SKIP_SETCAP=1` to bypass
the entrypoint capability check. The same setting addresses the error in
Enterprise 1.19.16, 1.20.10, and 1.21.5 images.
UBI images in 2.0.4 remove `gnupg`, `openssl`, and `procps`; install them
explicitly in derived images that use them.

File audit devices reject executable permission bits starting in 1.19.7;
use a mode such as `0600`. The audit reference includes older-line fixes and
the patches that warn and clear executable bits on existing files at unseal.
The RSA modulus ceiling is 8192 bits starting in 1.19.18 and also applies in
1.20.12 and 1.21.7. Audit and replace larger keys before upgrading because the
limit applies when Vault uses or signs existing keys. The SSH secrets engine
limits RSA keys to 8192 bits in 2.0.2.

### Retired authentication, engines, and proxy behavior

Move Snowflake password-based database connections to key-pair authentication
before upgrading to 1.21.x. Remove `deny_null_bind` from LDAP auth provisioning
for the major upgrade targeted by the April 2026 removal notice; a nonempty
login password is required even with `deny_null_bind=false`.
Move API proxy traffic from Vault Agent's built-in proxy to Vault Proxy; the
deprecation notice targets Q2 2026 for removal of the Agent feature.
Read `session_token` in AWS AssumeRole and FederationToken credential responses;
the previous `security_token` field is deprecated.

Newly deprecated built-in plugins warn on unseal and in affected responses.
Pending-removal built-in auth and secrets plugins cause immediate core shutdown.
In an emergency, `VAULT_ALLOW_PENDING_REMOVAL_MOUNTS` in the server environment
can temporarily restore deprecated behavior for eligible mounts.
See the references for Centrify, Active Directory secrets engine, Service Broker,
PKI role-field, Azure configuration, and Docker repository migration guidance.

### External plugin signing and recovery

Enterprise 2.0.1 can return `openpgp: key expired` for external Enterprise plugins
released from April 21, 2026 onward and signed with the renewed key.
Upgrade to 2.0.2 or a later patch before registering an affected plugin; on
Enterprise 1.20 or 1.21, use 1.20.12 or 1.21.7 respectively.
If an external plugin fails to load at startup or unseal, restore the missing
binary or registration and reload the plugin to resume writes while Vault runs.

## Rotation and credential operations

### Rotation Manager and LDAP

Enterprise Rotation Manager schedules root credential rotation for AWS, Azure,
GCP, and LDAP auth methods and secrets engines. Database plugins also support
scheduled static-role rotation. Enterprise 1.19.11 interprets schedules in UTC;
review schedules written for local time when upgrading from a release where
interpretation could drift after restart.

Before upgrading an affected Enterprise performance primary to 2.0.3, set
`disable_automated_rotation=true` on affected root configurations or static roles
to remove misplaced namespace-local entries from shared storage. After upgrading,
set it back to `false` to register entries in local storage. The same repair
applies to Enterprise 1.19.19, 1.20.13, and 1.21.8 upgrades.
On Enterprise 1.20, 1.21, and 2.0, check scheduled rotations after mount renames,
which can deregister rotation entries.

Enterprise LDAP migrates static roles into Rotation Manager; inspect and manage
progress with the LDAP mount's `static-migration` endpoint.
In Enterprise 2.0, migration can shift rotation time and failed rotations stop
retrying at the role's configured retry limit. Manual rotation leaves the TTL
intact, so a scheduled rotation can still follow soon afterward.
To reset the schedule, toggle `disable_automated_rotation` to `true`, then
`false`; this resets initial rotation time and recalculates `next_vault_rotation`.

### Azure roles and Secret Sync

Use a separate service principal for Azure roles so rotating role credentials
cannot affect the mount's own authentication. The secrets reference includes
the role audit and credential or lease revocation steps for shared applications.
In Enterprise 1.21.x and 2.x, back-to-back rotations of the same Azure static
credential can fail. In Enterprise 2.0.0, wait a few minutes between rotations
and remove orphaned credentials directly in Azure.

Enterprise Secret Sync immediately unsyncs external secrets when their source
mount is disabled or deleted. `force_delete` can delete a destination whose
associations cannot be unsynced, defaults to `false`, and leaves provider secrets
requiring manual cleanup. Workload identity federation supports Secret Sync
without storing static destination credentials.

## Recovery, identity, and certificate workflows

### Snapshot recovery

Enterprise can recover individual changed or deleted secrets on a running cluster.
Recovery requests support `RECOVER`, `POST`, and `PUT`; pass the snapshot ID in
`X-Vault-Recover-Snapshot-Id`. The `recover_snapshot_id` query parameter is deprecated.
For `vault recover`, use `-from=secret/old-path` when recovering to a different live
path. KV v2 recovery in 2.0.4 supports in-place recovery or a copy from a different
path in the same mount and namespace. See operations for supported engine data,
automatic snapshot loading, forced unload, and performance-standby handling.

### SCIM and OAuth authorization

Enterprise SCIM provisions identity entities and groups from an external identity
platform. In 2.0.4, entity merges reject any SCIM-managed entity, and entity
batch deletion is limited to the request's namespace.
Agentic IAM is generally available in Enterprise 2.1.0; neither it nor the OAuth
resource server API requires activation. Set `issuer_id` when creating an OAuth
resource server profile because updates cannot change it.
Vault token revoke APIs can revoke an OAuth 2.0 JWT for use with Vault;
other services can still accept that JWT.

### PKI, managed keys, and events

PKI SCEP supports end-user and network device enrollment in Community and
Enterprise. Enterprise PKI External CA issues certificates through a public CA.
With `certificate_format=pem_bundle`, its `certificate` field includes the private
key. Transit ML-DSA and SLH-DSA signature support is experimental, as is the
Enterprise API for executing KMIP requests.

Enterprise event notifications include `vault_index` when metadata has
`modified=true`; consumers should account for events without the index.
`VAULT_EVENT_NOTIFICATIONS_BOUNDED_QUEUE_SIZE` defaults to `0` for unbuffered
delivery, accepts positive sizes up to `1000`, and can cause missed events if
a subscriber's queue fills. The audit reference includes rotation events,
replication behavior, billing metrics, and activity export changes.

Files in this skill

  • SKILL.md10.2 KB
  • coverage.json1.2 KB
  • references/audit-events-and-telemetry.md5.7 KB
  • references/authentication-and-policy.md8.9 KB
  • references/operations-and-upgrades.md8.3 KB
  • references/pki-and-cryptography.md6.3 KB
  • references/plugins-ui-and-clients.md3.1 KB
  • references/secrets-and-rotation.md6.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.