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"
Last updated