Impossible Cloud Documentation
  • Company overview
    • What is Impossible Cloud
  • Getting Started
    • Getting Started with Impossible Cloud Storage
      • Setting up
      • Next steps
      • Getting support
  • Feature Release Notes
    • 29th April 2025
  • Impossible cloud storage Guide
    • Storage Console URLs and API Endpoints
    • Storage Console
      • Accessing the console
        • Signing up for Impossible Cloud Storage
        • Signing in to Impossible Cloud Storage
        • Session lifetime limits
      • Interacting with the console
        • Navigating the menu
        • Using the panel
    • Buckets and Objects
      • Creating a bucket
      • Storing objects in a bucket
      • Interacting with objects
      • Creating folders in a bucket
      • Interacting with folders and buckets
      • Public File Sharing via URLs
      • Emptying a Bucket
      • Limitations
      • Versioning and object lock
        • Enabling versioning
        • Using versioning
        • Enabling object lock
        • Using object lock
    • Access keys
    • CLI User Guide
      • AWS CLI installation instructions
      • AWS CLI configuration
      • Using Impossible Cloud with AWS CLI
      • AWS CLI basic commands
      • AWS CLI advanced commands
        • Examples
      • AWS CLI for cloud-to-cloud migration scenarios
      • AWS CLI Credentials & Config chain
      • AWS CLI: IAM
        • Limitations
        • List of supported operations
        • Operations Descriptions and Examples
    • Usage
      • Storage Calculation
      • Fair use policy
    • Profile settings
      • Multi-Factor Authentication (MFA)
        • Enabling and Disabling MFA
        • MFA Reset
        • Organization-Wide Policies
  • Security
    • Securing Your Data
    • Identity Access Management (IAM)
      • Managing Users
      • Managing Groups
      • Managing Policies
    • CORS support
      • Limitations
      • CORS Configuration
  • Integrations with other applications
    • Backup Software Integrations Guides
    • Cloud Storage Browsers Integrations Guides
    • Media Management Software Integrations Guides
    • NAS Applications Integrations Guides
  • Other support resources
    • Impossible Cloud Management Console (ICMC)
    • Knowledge Base
    • Help Center
    • System Status
Powered by GitBook
On this page
  • Operations with buckets
  • Operations with objects
  • Operations with CORS

Was this helpful?

Export as PDF
  1. Impossible cloud storage Guide
  2. CLI User Guide
  3. AWS CLI advanced commands

Examples

Operations with buckets

aws s3api list-buckets --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --region us-west-1
aws s3api create-bucket --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --bucket="my-new-bucket" --region us-west-1
aws s3api delete-bucket --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --bucket="my-new-bucket" --region us-west-1

Operations with objects

aws s3api list-objects --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --region us-west-1 --bucket="my-new-bucket"
aws s3api list-objects-v2 --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --region us-west-1 --bucket="my-new-bucket"
aws s3api list-object-versions --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --region us-west-1 --bucket="my-new-bucket"
aws s3api get-object --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --region us-west-1 --bucket="my-new-bucket" --key="myfile.txt" "myfile.txt"

Operations with CORS

aws s3api get-bucket-cors --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --region us-west-1 --bucket="my-new-bucket"
aws s3api put-bucket-cors --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --region us-west-1 --cors-configuration file://cors.json --bucket="my-new-bucket"
aws s3api delete-bucket-cors --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net --region us-west-1 --bucket="my-new-bucket"
PreviousAWS CLI advanced commandsNextAWS CLI for cloud-to-cloud migration scenarios

Last updated 7 months ago

Was this helpful?