Keystore AWS Parameter Store (recommended)
Follow these steps to set up your keystore passphrase on AWS Parameter Store.
Add to parameter store
Go to Systems Manager*
Click on Parameter Store under Application Management on left sidebar
Click on *Create parameter button
Steps
Name: /Hop/Bonder/Keystore/Pass
Check SecureString under Type
Enter keystore password in the Value text field
Click the Create parameter button
Attach policy to role
Go to IAM
Click on Roles on left sidebar
Filter for your EC2 Role. E.g. HopNodeEC2Role
Click on role link
Click on Attach policies button
Click on Create policy button (this will open a new tab)
Service: Systems Manager
Check Read
Check GetParameter
Resources
Add ARN
Region: us-east-1
Parameter name: Hop/Bonder/*
Click on Next: Tags button
Click on Next: Review button
Policy
Name: HopNodeParameterStorePolicy
Click on Create policy button
You may now close this tab.
Back on main tab
Click refresh button
Filter for HopNodeParameterStorePolicy
Check box next to policy name
Click the Attach policy button
Config
Update your config ~/.hop/config.json
to use the password from Parameter Store:
Note: The entirety of the config file will be explained in the next section, so feel free to move on and return here when you need to add the keystore config.
Last updated