Configure AWS CLI
Run the
aws configure
command in a terminal.AWS Access Key ID [None]: Insert the Access Key. In the DCD, go to Menu > Storage > IONOS Object Storage > Key management and check the Access keys section to find the essential details.
AWS Secret Access Key [None]: Paste the Secret Key. In the DCD, go to Menu > Storage > IONOS Object Storage > Key management and check the Access keys section to find the essential details.
Default region name [None]:
de
.Default output format [None]:
json
.
Using AWS CLI with IONOS Object Storage
Test if you set up AWS CLI correctly by running a command to list buckets; use any endpoints for testing purposes.
aws s3 ls --endpoint-url https://s3.eu-central-1.ionoscloud.com
If the setup works correctly, you may proceed with the other commands.
For each command, be sure to include one of the endpoints in the endpoint-url
parameter:
--endpoint-url https://s3.eu-central-2.ionoscloud.com
For information on the supported IONOS Object Storage Service endpoints, see Endpoints.
There are two sets of commands:
S3: Offers high-level commands for managing buckets and moving, copying, and synchronizing objects.
S3api: Allows you to work with specific features such as ACL, CORS, and Versioning.
For additional information, see the official AWS CLI Command Reference.
Last updated
Was this helpful?