Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

Activity

Total releases
2
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.0.0 Stable Dec 11, 2024
1.0.x-dev Dev Dec 11, 2024