Skip to main content

synctl

Interact with Synadia Control Plane

Synopsis

Interact with Synadia Control Plane

This cli requires the server URL (example: https://cloud.synadia.com) and a token. The token may be generated at /profile/personal-access-tokens. All flags may be set in environment variables with SCP_ prefix.

synctl [flags]

Examples


# Set environment variables for server url and authentication:
export SCP_SERVER=https://cloud.synadia.com
export SCP_TOKEN=uat_demo

# Create a context
synctl context add cloud
synctl context select cloud

# List Teams, Systems, and Accounts
synctl team list
synctl system list
synctl account list

# Import all NSC systems along with users and accounts
synctl system import --all --users

Options

--account string Synadia Control Plane Account ID
--context string Use the Control Plane context
--context-directory string Synadia Context Directory (default "/home/seth/.config/synadia/contexts")
-h, --help help for synctl
--no-context Disable the selected context
--server string Synadia Control Plane Server
--system string Synadia Control Plane System ID
--team string Synadia Control Plane Team ID
--token string Synadia Control Plane Auth Token
-v, --version version for synctl

See also​