Browse Source

Add Env Vars

tags/v1.2.0
stefanbenten 4 years ago
parent
commit
d5e07fe2f4
1 changed files with 16 additions and 12 deletions
  1. +16
    -12
      cmd/cmd.go

+ 16
- 12
cmd/cmd.go View File

@@ -150,24 +150,28 @@ var globalFlags = []cli.Flag{
Value: googleapi.DefaultUploadChunkSize / 1024 / 1024,
},
cli.StringFlag{
Name: "storj-endpoint",
Usage: "Satellite Address including Port.",
Value: "",
Name: "storj-endpoint",
Usage: "Satellite Address including Port.",
Value: "",
EnvVar: "STORJ_ENDPOINT",
},
cli.StringFlag{
Name: "storj-apikey",
Usage: "",
Value: "",
Name: "storj-apikey",
Usage: "",
Value: "",
EnvVar: "STORJ_API_KEY",
},
cli.StringFlag{
Name: "storj-bucket",
Usage: "",
Value: "",
Name: "storj-bucket",
Usage: "",
Value: "",
EnvVar: "STORJ_BUCKET",
},
cli.StringFlag{
Name: "storj-enckey",
Usage: "Encryption Key for local file encryption",
Value: "",
Name: "storj-enckey",
Usage: "Encryption Key for local file encryption",
Value: "",
EnvVar: "STORJ_ENC_KEY",
},
cli.IntFlag{
Name: "rate-limit",


Loading…
Cancel
Save