-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add automation scripts to generate node keys #299
Conversation
PR Description updated to latest commit (600cf1e) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
a1fd981
to
01ba2be
Compare
- generates keys with subkey and stores in hashicorp vault - restores keys and adds to .env file as part of automation
01ba2be
to
c6db985
Compare
User description
We currently generate node keys manually, and store in flat files which is cumbersome especially as the network expands.
These scripts do the following:
Type
enhancement
Description
generate_node_keys.sh
for generating and storing node keys in Hashicorp Vault.restore_node_keys.sh
for retrieving node keys from Hashicorp Vault and storing them in a.env
file.Changes walkthrough
generate_node_keys.sh
Automate Node Key Generation and Storage in Hashicorp Vault
scripts/generate_node_keys.sh
subkey
and store them in Hashicorp Vault.
subkey
installation, generate nodekeys, and add them to Hashicorp Vault.
domain, farmer, nova-bootstrap).
restore_node_keys.sh
Automate Restoration of Node Keys from Hashicorp Vault
scripts/restore_node_keys.sh
them in a
.env
file.jq
installation, retrieve key-valuepairs from Hashicorp Vault, and store them in
.env
file.