website logo
Create accountLogin
Home
DCS
Node
Resources
Help center
Navigate through spaces
Home
DCS
Node
Resources
Help center
⌘K
Storj DCS
Get Started
AWS CLI and Hosted Gateway MT
AWS SDK and Hosted Gateway MT
Uplink CLI
Satellite Admin Console
Object Browser
Downloads
Download Uplink CLI
Download Self-hosted S3 Compatible Gateway
Download Storj Client Libraries
SDKs & Reference
Tutorial
How-to Guides
Concepts
Support
Support Overview
FAQ
Community Forum
Status Page
Help Desk
Billing, Payment & Accounts
Resources
Moved Documents
Docs powered by archbee 
16min

Access

An Access Grant is a security envelope that contains a satellite address, a restricted API Key, and a restricted path-based encryption key - everything an application needs to locate an object on the network, access that object, and decrypt it.

Learn more about Access Management and Access Grants or check out the FAQ on Access Grants and Encryption Keys.

The Access Grant screen allows you to create or delete Access Grants, generate credentials for the Storj DCS S3-compatible Gateway from an Access Grant, create an API key to generate an access grant in the CLI.

Create Access Grant

Let's start with creating an Access Grant. Click the Create Access Grant Button.

Document image

Give your Access Grant a name:

Document image

Set any access restrictions you want encoded into your Access Grant. Through the Satellite Admin Console, you can set basic restrictions on your Access Grant. You can get more sophisticated using the CLI and add further, more granular restrictions, for example, at the path prefix level within a Bucket.

Document image

Next, enter an Encryption Keys for your Access Grant. Note that this encryption passphrase is handled by the browser and is not stored by the Satellite. You can either Generate Passphrase or Create My Own Passphrase.

Do not lose your Encryption Passphrase. Storj DCS does not manage your encryption keys and if you lose your Encryption Passphrase and your Access Grant, you will not be able to decrypt your data.

Document image

Copy or download your Access Grant. Do not lose it, you only have one opportunity to do so. If you did not save it, please delete this Access Grant and create a new one and save it on this time.

Document image

This Access Grant can now be used to configure tools like the Storj DCS Uplink CLI, libuplink library, or apps like Rclone, FileZilla or Restic. You can also generate credentials for the Storj DCS S3-compatible Gateway.

Create S3 Credentials

You need to have a satellite account and Uplink CLI installed. See Creating Your Account

Remember, when you generate credentials for the Storj DCS S3-compatible Gateway from an Access Grant, you are opting in to server-side encryption.

Document image

When you generate credentials for the Storj DCS S3-compatible Gateway, the Admin Console will register your Access Grant with the Gateway Auth Service and display the credentials required to configure your client app to work with the Storj DCS S3-compatible Gateway.

Document image

Create Keys for CLI

1) You need to have a satellite account and Uplink CLI installed. See Creating Your Account

2) To start, proceed through the initial steps of creating a new Access Grant.

3) Navigate to "Access" page and click the Create Keys for CLI link (rightmost option).

Document image

4) Provide name, permissions and optionally buckets, select Create Keys.

Document image

5) Copy and save the Satellite Address and API Key in a safe place or download them as they will only appear once.

Document image

6) Make sure you've already downloaded Uplink CLI and run uplink setup.

Windows
Linux
MacOS
|

For anyone who has previously configured an Uplink, please use a named access. If you want to replace the default access, you need to either Create an Access Grant and use the uplink access importcommand with--force flag to import it, or use theuplink access create --import-to<name>command with --force flag to create an Access Grant in CLI and import it to the specified access in the local store of Uplink.

7) Follow the prompts. When asked for your API Key, enter it (you should have saved it in step 5 above).

8) Generate the Access Grant by running uplink share with no restrictions.

If you chose an access name, you'll need to specify it in the following command as --access=name

Windows
Linux
MacOS
|

Keep your full-rights Access Grant secret, it contains the encryption key and will enable uploading, downloading or deleting your data from the entire project!

9) Your Access Grant should have been output.

The alternative for using the uplink setup command and then uplink share is to use the uplink access create command instead, it will print the Access Grant right away.

Delete Access Grant

To Delete an Access Grant, select three dots on the right side of the Access Grant and choose Delete Access:

Document image

Then confirm that you want to delete the Access Grant by typing its name and confirming with Delete Access button.

Document image

Important: If you delete an Access Grant from the Satellite user interface, that Access Grant will immediately cease to function, and all hierarchically derived child Access Grants and Storj DCS gateway access credentials based on that Access Grant will also cease to function. Any data uploaded with that Access Grant will persist on Storj DCS. If you didn't back up the Encryption Passphrase used with the Access Grant you are deleting, you will not be able to decrypt that data without that Encryption Passphrase, and it will be effectively unrecoverable.

You don't need to know everything in the whitepaper about our Access Grants, macaroon-based API Keys or our encryption implementation, but if you understand the general principles, you'll find these are some very sophisticated (but easy to use) tools for creating more secure and private applications.

Updated 19 Jan 2023
Did this page help you?
Yes
No
UP NEXT
Users
Docs powered by archbee 
TABLE OF CONTENTS
Create Access Grant
Create S3 Credentials
Create Keys for CLI
Delete Access Grant