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
You can create an access using the uplink share command using Restrictions. For example:
The --export-to flag is used to export the access to a file. This gives the following output:
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:
See the uplink access restrict command reference for more actions.
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:
See the uplink access restrict and uplink share commands reference for more actions.


