A cli tool to upload a file to linode object storage
npm i -g linode-object-upload
The cli is all done via a single command.
linode-object-upload -file file -bucket bucket -region region -key key -secret secret
Options (all are required)
file
The file to uploadbucket
this is the bucket to put the object in tokey
this is the access keysecret
this is the access secretregion
this is the linode region, for exampleeu-central-1
-
- Go to your object storage manager
- Under the bucket you are using it will look something like
bucket.eu-central-1.linodeobjects.com
. The bit after your bucket name and before linodeobjects.com is your region