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.
- PicoCLIOptions
- To configure the plugin
- SecurityModuleSystem
- To
- Register
- Register the plugin
- Start
- Not Used
- Stop
- Not Used
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
--security-module="azure-key-vault"
--plugin-azure-key-vault-url="https://<VAULT_NAME>.vault.azure.net/"
--lugin-azure-key-vault-secret-name="besu"
--plugin-azure-key-vault-client-id=""
--plugin-azure-key-vault-tenant-id=""
--plugin-azure-key-vault-client-secret=""
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.
This is very much a demo for others to learn from - use at your own risk..