GoodMemGoodMem
ReferenceCLICloud

Cloud Instance Connect

Cloud Instance Connect CLI command reference

goodmem cloud instance connect

Save a hosted instance and its API key as a remote GoodMem profile

goodmem cloud instance connect [INSTANCE] [flags]

Examples

  goodmem cloud instance connect orders --workspace 71 --as-profile orders-api
  GOODMEM_PROFILE=orders-api goodmem space list

Options

      --as-profile string     Name of the destination GoodMem profile
  -h, --help[=true|false]     help for connect
      --switch[=true|false]   Make the destination profile current

Options inherited from parent commands

      --account string        Named Cloud login (GOODMEM_CLOUD_ACCOUNT)
      --cloud-origin string   Cloud service origin (GOODMEM_CLOUD_ORIGIN)
  -f, --format string         Output format: table, json, compact, or quiet (default "table")
      --instance string       Instance ID, UUID, or unambiguous name within the workspace (GOODMEM_CLOUD_INSTANCE)
      --profile string        GoodMem profile to use for this command
  -q, --quiet[=true|false]    Print identifiers only
      --workspace string      Workspace ID, slug, or unambiguous name (GOODMEM_CLOUD_WORKSPACE)

SEE ALSO

On this page