Hop
Search…
⌃K

AWS Parameter Store Setup

Add to parameter store

  1. 1.
    Go to Systems Manager*
  2. 2.
    Click on Parameter Store under Application Management on left sidebar
  3. 3.
    Click on *Create parameter button
  4. 4.
    Steps
    1. 1.
      Name: /Hop/Bonder/Keystore/Pass
    2. 2.
      Check SecureString under Type
    3. 3.
      Enter keystore password in the Value text field
    4. 4.
      Click the Create parameter button

Attach policy to role

  1. 1.
    Go to IAM
  2. 2.
    Click on Roles on left sidebar
    1. 1.
      Filter for your EC2 Role. E.g. HopNodeEC2Role
    2. 2.
      Click on role link
  3. 3.
    Click on Attach policies button
  4. 4.
    Click on Create policy button (this will open a new tab)
    1. 1.
      Service: Systems Manager
    2. 2.
      Check Read
    3. 3.
      Check GetParameter
    4. 4.
      Resources
      1. 1.
        Add ARN
      2. 2.
        Region: us-east-1
      3. 3.
        Parameter name: Hop/Bonder/*
    5. 5.
      Click on Next: Tags button
    6. 6.
      Click on Next: Review button
    7. 7.
      Policy
    8. 8.
      Name: HopNodeParameterStorePolicy
    9. 9.
      Click on Create policy button
    10. 10.
      You may now close this tab.
  5. 5.
    Back on main tab
  6. 6.
    Click refresh button
  7. 7.
    Filter for HopNodeParameterStorePolicy
  8. 8.
    Check box next to policy name
  9. 9.
    Click the Attach policy button

Config

Update your config ~/.hop-node/config.json to use the password from Paramter Store:
{
"keystore": {
"location": "~/.hop-node/keystore.json",
"parameterStore": "/Hop/Bonder/Keystore/Pass",
"awsRegion": "us-east-1"
}
}