Loading...

CDN.com.tr Help

Use AWS CLI with Object Storage

Use AWS CLI only for S3-compatible bucket/object checks.

Use AWS CLI with Object Storage

Use AWS CLI only for S3-compatible bucket/object checks.

Panel path

  1. Management Panel
  2. Platforms
  3. Object Storage
  4. AWS CLI verification

Prerequisites

  • Bucket and access key must belong to the selected account.
  • Secret access key is not written into screenshots or docs.
  • Endpoint is `https://s3.cdn.com.tr`.

Step-by-step guide

1

Prepare S3 endpoint

After Object Storage access key is created, AWS CLI is used only for S3-compatible operations.

  • Create bucket.
  • Store access key secret safely.
  • Configure AWS CLI profile.

Expected result: CLI can connect to CDN.com.tr S3 endpoint.

cdnctl equivalent
aws --endpoint-url https://s3.cdn.com.tr s3 ls
2

Verify upload/list

Bucket access is verified without breaking public API ownership boundaries.

  • Upload a test file.
  • Run bucket list.
  • Do not put secret into logs or tickets.

Expected result: S3 operation works only on authorized bucket.

cdnctl equivalent
aws --endpoint-url https://s3.cdn.com.tr s3 cp ./hello.txt s3://<bucket>/hello.txt

Verification

  • Secret key is not visible.
  • Endpoint is correct.
  • Access to another account bucket is rejected.

Use cases

A migrated app needs to prove uploads work before public deploy.

Quick workflow

  1. Create bucket/key from panel or cdnctl.
  2. Export AWS compatibility variables.
  3. Run `aws --endpoint-url https://s3.cdn.com.tr ...`.
  4. Revoke the key if it was temporary.

Checks

  • Endpoint URL is correct.
  • Checksum variables are present when required.
  • Access key scope is limited to the account.

Related pages

Use cdnctl

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

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.