access import
This command allows you to import the Access Grant to Uplink.
Usage
Arguments
Argument | Description |
---|---|
<name> | Name to save the access as |
<access|filename> | Serialized access value or file path to save |
Flags
Flag | Description |
---|---|
-f, --force | Force overwrite an existing saved access |
--use | Switch the default access to the newly created one |
Global flags
Global flags | Description |
---|---|
--config-dir string | Directory that stores the configuration |
--help , -h | prints help for the command |
--advanced | when used with -h, prints advanced flags help |
Examples
Please Create an Access Grant or Create Access Grant in CLI before proceeding.
Import Access Grant from the file
Save the created Access Grant to the file access.txt
. As result, this command will import the Access Grant from the file to the access with the specified name into Uplink.
Import Access Grant from the console
As result, the Access Grant will be imported from the console to the access with the specified name.
Import Access Grant and replace the existing access
You will import the created access grant to uplink as a named access