cdsctl

CDS Command line utility

Synopsis

Download

You will find latest release of cdsctl on GitHub Releases.

Authentication

Per default, the command line cdsctl uses your keychain on your os:

You can use a “sign in” token attached to a consumer:

CDS_API_URL="https://instance.cds.api" CDS_TOKEN="token-consumer" cdsctl [command]

Want to debug something? You can use CDS_VERBOSE environment variable.

CDS_VERBOSE=true cdsctl [command]

If you’re using a self-signed certificate on CDS API, you probably want to use CDS_INSECURE variable.

CDS_INSECURE=true cdsctl [command]

For advanced usage, you can use a session-token instead of a token:

CDS_API_URL="https://instance.cds.api" CDS_USER="username" CDS_SESSION_TOKEN="yourtoken" cdsctl [command]
cdsctl [flags]

Options

  -c, --context string   cdsctl context name
  -f, --file string      set configuration file
      --insecure         (SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers.
  -n, --no-interactive   Set to disable interaction with ctl
      --verbose          Enable verbose output

SEE ALSO