Drupal is a registered trademark of Dries Buytaert
Module Revived: Entity API 8.x-1.7 Module entity updated after 17 months of inactivity (8.x-1.7). Release: WebProfiler 11.2.2 Minor update available for module webprofiler (11.2.2). Release: Image Styles Builder 1.1.8 Minor update available for module image_styles_builder (1.1.8). Release: Static Suite 1.2.13 Minor update available for module static_suite (1.2.13). Release: Simple password policy 1.1.2 Minor update available for module simple_password_policy (1.1.2). Release: Simple password policy 1.1.1 Minor update available for module simple_password_policy (1.1.1). Release: Static Suite 1.2.12 Minor update available for module static_suite (1.2.12). Release: Audit Chain 1.4.0 Minor update available for module audit_chain (1.4.0). Release: Force External Authentication 1.0.0 Initial release available for module externalauth_force (1.0.0)! Usage Milestone: Field as Block Module fieldblock 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

Tracked releases
2
Tracked since
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