Skip to content

Commit

Permalink
Merge branch 'update-dcos-apiKey' into 'dev'
Browse files Browse the repository at this point in the history
Update doc for saltedHash

See merge request ergo/rosen-bridge/operation!24
  • Loading branch information
vorujack committed Apr 6, 2024
2 parents 0ef5375 + 81ca82e commit ffc7d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guard/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Use [rosen command line](https://github.com/rosen-bridge/utils/tree/dev/packages
```

#### Update Configuration File
After obtaining the hash, input it into your config file. For example, the Blake2b hash of `hello` is `324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf`.
After obtaining the hash, input it into your config file. For example, the salted Blake2b hash of `hello` is `$USHxmI8E$7Bby9L7leeExrYFt2n3270K4+PMCCszZ+UwCV8klqBs=`.

> **⚠️ NOTE**: When using docker there is an `API_KEY_HASH` environment variable available for `apiKeyHash` that you can set instead of in the local configuration. See your `.env` file. We recommend utilizing environment variables over direct configuration file settings for **security** purpose to not accidently share your api key while troubleshooting etc. After updating, you can delete `apiKeyHash` from /config/local.yaml.

Expand Down
2 changes: 1 addition & 1 deletion docs/watcher/deploy-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Use [rosen command line](https://github.com/rosen-bridge/utils/tree/dev/packages
```

#### Update Configuration File
After obtaining the hash, input it into your config file. For example, the Blake2b hash of `hello` is `324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf`.
After obtaining the hash, input it into your config file. For example, the salted Blake2b hash of `hello` is `$USHxmI8E$7Bby9L7leeExrYFt2n3270K4+PMCCszZ+UwCV8klqBs=`.

> **⚠️ NOTE**: When using docker there is an `API_KEY_HASH` environment variable available for `apiKeyHash` that you can set instead of in the local configuration. See your `.env` file. We recommend utilizing environment variables over direct configuration file settings for **security** purpose to not accidently share your api key while troubleshooting etc. After updating, you can delete `apiKeyHash` from /config/local.yaml.
Expand Down

0 comments on commit ffc7d17

Please sign in to comment.