cdsctl

CDS Command line utility

Synopsis

Download

You can find the cdsctl version corresponding to your CDS version on the UI: Menu -> Settings -> Command line cdsctl. You’ll also find the instructions to configure your cdsctl according to your CDS instance.

The latest release is available 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]

Advanced usages:

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