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 action
Manage CDS (admin only)
Manage CDS application
Generate the autocompletion script for the specified shell
Manage CDS auth consumers
Manage cdsctl config file
Encrypt variable into your CDS project
Manage CDS environment
Listen CDS Events
CDS Experimental commands
Manage CDS group
Check CDS health
Login to CDS
Manage CDS pipeline
CDS feature preview
Manage CDS project
CDS Queue
Reset CDS user password
Manage CDS auth sessions
cdsctl interactive shell
Signup on CDS
Manage CDS workflow template
Some tooling for CDS
Update cdsctl from CDS API or from CDS Release
Manage CDS user
show cdsctl version
Manage CDS worker
Manage CDS workflow