▶️
Decentrally Docs
  • ▶️DataDrop Intro
    • ☁️DataDrop Architecture
    • ⚒️How does DataDrop work
    • 🔐DataDrop Data security
    • 🤐Deletion handling
    • 📝Governance - GDPR - SOC
  • 🌐S3 Cloud Storage Intro
    • ☁️S3 Cloud Storage Architecture
    • ⚒️How does S3 Cloud Storage work
    • 🔐S3 Cloud Storage security
    • 🗨️SDKs & CLIs
      • 📋CLI
      • 📔Golang
Powered by GitBook
On this page
  • Prerequisites
  • List buckets
  • List objects
  • Upload object
  • Get object
  • Delete object
  • Delete multiple objects
  • Copy object

Was this helpful?

  1. S3 Cloud Storage Intro
  2. SDKs & CLIs

CLI

PreviousSDKs & CLIsNextGolang

Last updated 1 year ago

Was this helpful?

Prerequisites

Before you can use our S3 Cloud Storage with the AWS CLI, you must install the AWS CLI and configure it.

  1. - ref docs.aws.amazon.com

  2. - ref docs.aws.amazon.com

After you have installed and configured the AWS CLI locally, the following sections will show you how to use the CLI. For complete examples, .

List buckets

aws s3 --endpoint-url https://s3proxy.decentrally.cloud

List objects

aws s3 --endpoint-url https://s3proxy.decentrally.cloud ls s3://bucket

Upload object

aws s3 --endpoint-url https://s3proxy.decentrally.cloud cp /path/to/file s3://bucket

Get object

aws s3 --endpoint-url https://s3proxy.decentrally.cloud cp s3://bucket/file /path/to/file

Delete object

aws s3 --endpoint-url https://s3proxy.decentrally.cloud rm s3://bucket/file

Delete multiple objects

aws s3 --endpoint-url https://s3proxy.decentrally.cloud rm s3://bucket/ --recursive

Copy object

aws s3 --endpoint-url https://s3proxy.decentrally.cloud cp s3://bucket/file s3://bucket/file
🌐
🗨️
📋
Install the AWS CLI
Configure the AWS CLI
see the AWS CLI S3 examples