GithubHelp home page GithubHelp logo

charry1729 / besu-azure-keyvault-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magooster/besu-azure-keyvault-plugin

0.0 0.0 0.0 12 KB

Besu Security Module Plugin using an Azure Key Vault Secret

License: Apache License 2.0

Java 100.00%

besu-azure-keyvault-plugin's Introduction

Azure Key Vault Security Module Plugin

Purpose of the Plugin

Persist a Besu node key in an Azure Key Vault Secret.

Cannot at this time use Azure Key Vault Key as Azure Key Vault does not support the ECDH operation required by a Besu security module.

Services Used

  • PicoCLIOptions
    • To configure the plugin
  • SecurityModuleSystem
    • To

Plugin Lifecycle

  • Register
    • Register the plugin
  • Start
    • Not Used
  • Stop
    • Not Used

To Build the Plugin

Build the plugin jar

./gradlew build

Install the plugin into $BESU_HOME

mkdir $BESU_HOME/plugins
cp build/libs/*.jar $BESU_HOME/plugins

Run the Besu node

$BESU_HOME/bin/besu --config-file=options.toml

Pluging Configuration Options

Security Module plugin to use

--security-module="azure-key-vault"

Azure Key Vault url

--plugin-azure-key-vault-url="https://<VAULT_NAME>.vault.azure.net/"

Name of the secret in Azure Key Vault

--lugin-azure-key-vault-secret-name="besu"

Azure Service principal's app id

--plugin-azure-key-vault-client-id=""

id of the principal's Azure Active Directory tenant

--plugin-azure-key-vault-tenant-id=""

one of the service principal's client secrets

--plugin-azure-key-vault-client-secret=""

Running in Azure

If using a system manged identity only the vault-url and secret-name are required. If using a user assigned identity also need to configure the client-id.

Disclaimer

This is very much a demo for others to learn from - use at your own risk..

besu-azure-keyvault-plugin's People

Contributors

magooster avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.