AWS CLI, S3cmd, and the AWS JavaScript SDK all use the same credentials to connect to CDB Object Storage: an access key, a secret key, and an endpoint URL. The setup format differs by tool — select a tab for the specific steps.
AWS CLI integrates with CDB Object Storage for bucket management using commands from the Amazon documentation.
Access Key: the access key from the storage Details dialog.
Secret Key: the secret key from the storage Details dialog.
Default region name: the region name for the storage location — s-ed1 for Luxembourg-2.
Leave all other parameters at their default values.
3
Verify the connection
Run the following command, replacing the endpoint with the actual value from the service URLs reference:
aws s3 ls --endpoint-url=https://s-ed1.cloud.gcore.lu
Correct credentials produce no errors and list any existing buckets. An empty output with exit code 0 is expected for new storage with no buckets.
S3cmd is a free command-line tool for uploading, retrieving, and managing objects in S3-compatible storage. The full command reference is in the S3cmd documentation.
Installation
1
Download S3cmd
Go to the Download page in the S3cmd documentation.
2
Install the package
Download and install the package for the operating system.
Configuration
Two methods are available: the interactive wizard and direct command-line input for automated environments.
📝
The code examples use AWS SDK for JavaScript v2 (aws-sdk), which is in maintenance mode but remains functional. The migration guide covers the path to SDK v3 (@aws-sdk/client-s3), which AWS recommends for new projects.