Storj IconSTORJ | DCS Docs
Set Up Uplink CLI with Access Grant

Set Up Uplink CLI with Access Grant #

1. Check Prerequisites.

2. Save Access Grant to a file. The Access Grant that you created in the web interface (or in uplink CLI) needs to be saved to disk in a plain text file for simplicity (for example - Mac terminal would not allow you to paste the whole access grant directly due terminal limitations). Specify the path to the saved access grant in the following command (~/Downloads/accessgrant.txt for example).

3. Import Access Grant.

PowerShell #

For security reasons it’s better to use a casual user to work from the CLI, thus please run PowerShell as a casual user, not as an Administrator.

Navigate to the directory your uplink.exe file is located:

./uplink.exe access import main accessgrant.txt
uplink access import main accessgrant.txt
uplink access import main accessgrant.txt
Please note that Storj Labs does not know or store your encryption passphrase, so if you lose it, you will not be able to recover your files.

7. Your Uplink is configured and ready to use!