Kaloyan Raev
3119b614ae
cmd/uplink: --max-object-ttl flag for share and access restrict commands
...
Context: https://github.com/storj/storj/issues/6249
Change-Id: Ic65a1d8aef61f1a88752a7b12a23fb854dac8f6d
2023-09-11 08:14:55 +00:00
Sean Harvey
33c3e3176f
cmd/uplink: add --tls flag to share command
...
adds an additional flag to return an additional TXT record that will
enable TLS on custom domains with Linksharing.
Closes #5623
Change-Id: I941616362d7dcd9aec20dfd10346e483021516a4
2023-03-31 20:30:22 +13:00
Erik van Velzen
b4e42ceb23
cmd/uplinkng: fix linkshare bugs
...
Fix various bugs by remove superflous steps and letting libuplink
build the url.
$ uplinkng share --not-after +1h --url sj://mybucket/myprefix/
before: https://link.us1.storjshare.io/s/jxcvcme2xkb44xsec235xb2ccmbq//myprefix//
after: https://link.us1.storjshare.io/s/jxcvcme2xkb44xsec235xb2ccmbq/mybucket/myprefix/
$ uplinkng share --not-after +1h --url $(printf "sj://waterbear/aa\x03bb")
before: https://link.us1.storjshare.io/s/jwbcxjiv4ept7t2g3qmxfb73ljga//aabb
after: https://link.us1.storjshare.io/s/jvod7pixige62yrp5tubn4ct47yq/waterbear/aa%03bb
$ uplinkng share --not-after +1h --url
before: no url generated, no error
after: error "Need at least a bucket to create a working linkshare URL"
Change-Id: Ibca6847f8fc5d5fad9ee4642d11d3081d75d77ca
2022-03-03 16:00:10 +00:00
Jeff Wendling
9061dd309f
cmd/uplinkng: become cmd/uplink
...
Change-Id: If426c32219d32044d715ab6dfa9718807f32cb9f
2022-02-09 17:02:21 +00:00