storj/cmd/uplink
Ivan Fraixedes 69d8b9f828
Change where the encryption key is being stored for uplink (#1967)
* uplink: Add a new flag to set the filepath of the file which is used for 
  saving the encryption key and rename the one that hold the encryption key and 
  establish that it has priority over the key stored in the file to make the 
  configuration usable without having a huge refactoring in test-sim.
* cmd/uplink: Adapt the setup subcommand for storing the user input key to a file 
  and adapt the rest of the subcommands for reading the key from the key-file when 
  the key isn't explicitly set with a command line flag.
* cmd/gateway: Adapt it to read the encryption key from the key-file or use the 
  one passed by a command line flag.
* pkg/process: Export the default configuration filename so other packages which 
  use the same value can reference to it rather than having it hardcoded.
* Adapt several integrations (scripts, etc.) to consider the changes applied in uplink and cmd packages.
2019-05-22 15:57:12 +02:00
..
cmd Change where the encryption key is being stored for uplink (#1967) 2019-05-22 15:57:12 +02:00
Dockerfile Fix detection of existing config in docker images (#929) 2018-12-21 11:56:57 -05:00
entrypoint Adding additional required values for satellite configuration (#1036) 2019-01-11 22:47:18 -05:00
main.go Divide uplink and gateway params set (#1026) 2019-02-04 16:50:06 +01:00
README.md Bd/doc text2 (#1973) 2019-05-16 15:04:06 +02:00

Uplink

Documentation for developing and building the uplink service.

Usage:

First make an identity:

go install storj.io/storj/cmd/identity
identity create uplink

Then setup the uplink:

go install storj.io/storj/cmd/uplink
uplink setup

You can edit :~/.local/share/storj/uplink/config.yaml to your liking. Then run it!

uplink ls