Loading...

CDN.com.tr Help

Use cdnctl

Operate accounts, container apps, imports, logs, jobs, and object storage from terminal or AI agents.

Use cdnctl

Operate accounts, container apps, imports, logs, jobs, and object storage from terminal or AI agents.

Panel path

  1. Management Panel
  2. Help
  3. Tools
  4. cdnctl usage guide

Prerequisites

  • cdnctl binary does not require PHP.
  • Login output does not return user id/email/account id.
  • Self update verifies checksums.

Step-by-step guide

1

Check cdnctl version

Before agent or terminal automation starts, the binary freshness is checked.

  • Run cdnctl update --check.
  • If update is available, run checksum-verified update.

Expected result: CLI returns JSON and update state is clear.

cdnctl equivalent
cdnctl update --check
cdnctl update --yes
2

Move panel workflow to terminal

cdnctl is the public API equivalent of the panel; it does not take over panel-only payment/card steps.

  • Log in.
  • List accounts.
  • Run the relevant product command.
  • Check JSON output for secret/id leakage.

Expected result: Terminal flow keeps the same ownership boundary as the panel customer surface.

cdnctl equivalent
cdnctl login --email "<email>" --password "<password>"
cdnctl accounts list

Verification

  • Command outputs are JSON and redacted.
  • Payment/card handling is outside cdnctl scope.
  • AI agents use public tools without kubectl or internal APIs.

Use cases

An AI agent performs the same migration steps the user can do in the panel after the user has completed package purchase and account assignment.

Quick workflow

  1. Verify the account has the required paid package.
  2. Run `cdnctl update --check`.
  3. Login.
  4. List/select account.
  5. Create/deploy resources.
  6. Read JSON status/logs.

Checks

  • JSON output masks sensitive fields.
  • Update verifies checksum before installing.
  • Commands have panel equivalents.
  • cdnctl docs do not ask agents to buy packages or handle payment cards.

Related pages

Use Push CDN and AI API pages

Find static asset API and AI API references from the developer help structure instead of leaving them as isolated pages.