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 
9min

Create an Access to an Object

There are several ways to share access to an object:

  • by link sharing
  • by importing the access using Uplink CLI
  • by restricting an access using Uplink CLI

Share an object

You can create an access using the uplink share command using Restrictions. For example:

Windows
MacOS
Linux
|

The --export-to flag is used to export the access to a file. This gives the following output:

Terminal
|

Restrict an access

The command uplink access restrict allows you to create a restricted access grant using Restrictions.

An access generated using uplink access restrict with no arguments creates an access to your entire project with read permissions!

Example:

Windows
MacOS
Linux
|
Terminal
|

See the uplink access restrict command reference for more actions.

Restrictions

The --readonly flag prevents all write operations (delete and write). Similarly, the --writeonly flag prevents all read operations (read and list).

By default, the access is read-only. To give full permissions, use --readonly=false

You may also indicate the duration of access by specifying a start and end time.

The list of all restrictions can be found share. Example:

Windows
MacOS
Linux
|
Terminal
|

See the uplink access restrict and uplink share commands reference for more actions.

Updated 10 Nov 2022
Did this page help you?
Yes
No
UP NEXT
Import an Access to an Object
Docs powered by archbee 
TABLE OF CONTENTS
Share an object
Restrict an access
Restrictions