This repository contains plugins for OpenBao, an open-source fork of HashiCorp Vault. These plugins are maintained by the OpenBao project but are not included in the core OpenBao binary.
To learn more about OpenBao plugins, please see the plugin system documentation.
- AWS - Authenticate using AWS IAM credentials.
- Azure - Authenticate using Microsoft Azure credentials.
- GCP - Authenticate using Google Cloud Platform credentials.
- GitHub - Authenticate using GitHub credentials.
- MongoDB - Generate MongoDB database credentials.
- AWS - Generate AWS access credentials based on IAM policies.
- Azure - Generate Azure service principals with role and group assignments.
- GCP - Generate GCP service account keys and OAuth tokens based on IAM policies.
- GCPKMS - Encrypt data and manage keys via GCP KMS.
- Nomad - Generate Nomad ACL tokens.
- Consul - Generate Consul ACL tokens.
- AliCloud KMS - Auto Unseal via AliCloud.
- AWS KMS - Auto Unseal via AWS.
- Azure Key Vault - Auto Unseal via Azure.
- Google Cloud KMS - Auto Unseal via Google Cloud.
- OCI KMS - Auto Unseal via Oracle Cloud.
- OVHcloud KMS - Auto Unseal via OVHcloud.
- PKCS#11 - Auto Unseal via PKCS#11.
- T Cloud Public KMS - Auto Unseal via T Cloud Public.
Prebuilt binaries and their SHA-256 digests are available in the Releases section. Prebuilt OCI artifacts are available on ghcr.io.
-
Declare the plugin to download and register it.
plugin_directory = "/path/to/download/dir" plugin_auto_download = true plugin_auto_register = true plugin "auth" "aws" { image = "ghcr.io/openbao/openbao-plugin-auth-aws" version = "v0.1.1" binary_name = "openbao-plugin-auth-aws" sha256sum = "7a77057e62973c1aae6035f52110e3302605a47b622756d954915b7b55eca10c" }
See the OpenBao Plugin Configuration documentation for more details (such as manual plugin download).
-
Enable the plugin. E.g., for auth plugins:
bao auth enable aws
To contribute or build plugins from source, follow these steps:
-
Build the plugin
go build -o openbao-plugin-auth-aws ./auth/aws
-
Proceed as with a manually downloaded binary (place in
plugin_directory, register, enable).
We welcome contributions! Please follow our contribution guidelines to submit issues, improvements, or new plugins.
This project is licensed under the Mozilla Public License 2.0 (MPL-2.0). Individual plugins may have different licenses, which will be specified in their respective plugin directories.