Simplify the instructions to get the cluster secret

This commit is contained in:
Greg 2019-05-28 13:05:52 +02:00
parent 21987c502e
commit 339f32c957
1 changed files with 3 additions and 16 deletions

View File

@ -1,20 +1,7 @@
# Join the IPFS cluster
## On your local machine
Get the `encrypted_data_bag_secret` from another core member and copy it to
`.chef/encrypted_data_bag_secret`. It is required to decrypt the infrastructure
secrets. The cluster secret can be used to remove peers and pins, so we cannot make it public.
From a clone of repository:
```
$ ./script/bootstrap # Requires Ruby
$ ./bin/knife solo data bag show credentials ipfs_cluster --secret-file .chef/encrypted_data_bag_secret
WARNING: The encrypted_data_bag_secret option defined in knife.rb was overriden by the command line.
id: ipfs_cluster
secret: *SECRET*
```
Get the cluster secret from a core team member. The cluster secret can be used
to remove peers and pins, so we cannot make it public.
## On your server
@ -63,4 +50,4 @@ QmTVC6eguRWoS2W18QnPHt64h8t5yQmYRhvoZcdgr4Ax2V | dev | Sees 1 other peers
```
You can now stop the daemon process (ctrl+c) and start it using the service of your choice
(probably Systemd)
(probably Systemd)