openbao-plugins

module
v0.0.0-...-3a9d8fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: MPL-2.0

README

OpenBao Plugins

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.

Plugins

Authentication Plugins
  • AWS - Authenticate using AWS IAM credentials.
  • Azure - Authenticate using Microsoft Azure credentials.
  • GCP - Authenticate using Google Cloud Platform credentials.
  • GitHub - Authenticate using GitHub credentials.
Database Plugins
  • MongoDB - Generate MongoDB database credentials.
Secrets Plugins
  • 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.
KMS (Key Management Service) Plugins
  • 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.

Download

Prebuilt binaries and their SHA-256 digests are available in the Releases section. Prebuilt OCI artifacts are available on ghcr.io.

Installation

  1. 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).

  2. Enable the plugin. E.g., for auth plugins:

    bao auth enable aws
    

Development

To contribute or build plugins from source, follow these steps:

  1. Build the plugin

    go build -o openbao-plugin-auth-aws ./auth/aws
    
  2. Proceed as with a manually downloaded binary (place in plugin_directory, register, enable).

Contributing

We welcome contributions! Please follow our contribution guidelines to submit issues, improvements, or new plugins.

License

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.

Directories

Path Synopsis
auth
aws
aws/cmd command
aws/pkcs7
Package pkcs7 implements parsing and generation of some PKCS#7 structures.
Package pkcs7 implements parsing and generation of some PKCS#7 structures.
azure/cmd command
gcp
gcp/cmd command
github/cmd command
ldap/cmd command
gcp/api module
database
mongodb/cmd command
internal
kms
alicloud/cmd command
aws/cmd command
azure/cmd command
gcp/cmd command
oci/cmd command
ovhcloud/cmd command
pkcs11/cmd command
secrets
aws
aws/cmd command
aws/internal/mock
Package mock_aws is a generated GoMock package.
Package mock_aws is a generated GoMock package.
azure/cmd command
consul/cmd command
gcp
gcp/cmd command
gcp/iamutil
THIS FILE IS AUTOGENERATED USING go generate.
THIS FILE IS AUTOGENERATED USING go generate.
gcpkms/cmd command
gcpkms/test/cleanup command
This script is used to iterate over all keys in the project and destroy them.
This script is used to iterate over all keys in the project and destroy them.
nomad/cmd command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL