Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Vault KV Integration

Security covered Under active development 4 sites

This module integrates Drupal with OpenBao/HashiCorp Vault, allowing Drupal to securely access and use encryption keys stored in Vault for tasks like encryption and authentication. It manages these confidential keys from a central Vault server via the Key module, supporting the KV secrets engine.

This module makes it possible for your Drupal website and OpenBao/hashicorp Vault to integrate seamlessly.
It enables safe access to and use of encryption keys kept in Vault by Drupal.
You can manage confidential keys from the Vault Server central vault and utilize them for encryption, authentication, and other security-critical tasks on your Drupal website by utilizing the Key module.

The module supports only "KV secrets engine"

Requirements

- Drupal 9 or 10
- [Key module](https://www.drupal.org/project/key)
- Access to an OpenBAO / Hashicorp Vault server
- token form Vault Server

Installation
1. Download and install the BaoKey module like any other Drupal module.
2. Enable the module via Drupal's admin interface or using Drush:
drush en baokey

Configuration
The BaoKey module requires configuration in your `settings.php` file (or `settings.local.php` for local development):

$settings['vault_url'] = 'https://your-vault-url.com';
$settings['vault_token'] = 'your-vault-token';

2. Create a new key using the Key module's interface (`admin/config/system/keys/add`):

- Fill in the label with the name of the key to retrieve the secret of the Vault.

- chose the Key type
- Select "Vault" as the key provider.
- Enter the Vault secret path where the key should be retrieved.
- Fill in other required fields as needed.

Drupal 9–10 · not 11

Ask your assistant about Vault KV Integration

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Dec 2024
Latest release
13 hours ago
Releases (12 mo)
1 ▼ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0 Stable 9–10 Oct 15, 2026
1.0.1 Stable 9–10 Dec 19, 2024
1.0.0 Stable 9–10 Dec 11, 2024
1.0.x-dev Dev 9–10 Dec 11, 2024