Guides

×
×
Home > S3 Developer Guide > Operations

Operations

jQuery(document).attr(“title”, “Welcome to Sterling Kilgore | Results Beyond Words”);

This section provides a list of operations you can perform on objects and buckets, along with samples using AWS CLI and BOTO3.

Before you perform any operation, configure AWS CLI or BOTO3 as shown below.

AWS CLI and BOTO3 configuration

Sample configuration parameters in the file ~/.aws/config


[default]
region = us-east-1
s3 =
    endpoint_url = https://s3.us-west-1.idrivecloud.io
s3api =
    endpoint_url = https://s3.us-west-1.idrivecloud.io
[plugins]
endpoint = awscli_plugin_endpoint

Sample credentials in the file ~/.aws/credentials


[default]
aws_access_key_id = 
aws_secret_access_key = 

Note: The awscli-plugin-endpoint is used in these samples for AWS CLI for convenience (this plugin doesn’t work with BOTO3). If you don't use this plugin, '--endpoint-url' option should be used in the command as:

--endpoint-url https://s3.us-west-1.idrivecloud.io

To get S3 credentials (access key and secret) refer to S3 Keys.

© 2020 IDrive Inc.