CDS Command line utility
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.
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:
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]
you define a maximum number of retries for HTTP calls:
CDS_API_URL=“https://instance.cds.api” CDS_SESSION_TOKEN=“yourtoken” CDS_HTTP_MAX_RETRY=10 cdsctl [command]
you can override CDN url if needed using the variable CDS_CDN_URL:
CDS_API_URL=“https://instance.cds.api” CDS_TOKEN=“yourtoken” CDS_CDN_URL=“https://instance.cds.cdn” cdsctl [command]
cdsctl [flags]
-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
Manage CDS actionManage CDS (admin only)Manage CDS applicationGenerate the autocompletion script for the specified shellManage CDS auth consumersManage cdsctl config fileEncrypt variable into your CDS projectManage CDS environmentListen CDS EventsCDS Experimental commandsManage CDS groupCheck CDS healthLogin to CDSManage CDS pipelineCDS feature previewManage CDS projectCDS QueueReset CDS user passwordManage CDS auth sessionscdsctl interactive shellSignup on CDSManage CDS workflow templateSome tooling for CDSUpdate cdsctl from CDS API or from CDS ReleaseManage CDS usershow cdsctl versionManage CDS workerManage CDS workflow