WINDOWS CLI
Download and unzip the rclone command line application: https://rclone.org/downloads/.
Open the Windows command line and navigate to where rclone is located.
Use the following commands to configure a new remote.
Configure rclone to point to polycloud using the interactive configuration tool. It should look something like the following:
$C:\Users\johnf\Downloads\rclone-v1.55.1-windows-amd64>rclone config
Enter ‘n’ to create a new remote.
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
Name your remote whatever you would like.
name> crowdstorage
Enter the number that corresponds to ‘Amazon S3 Compliant Storage Provider’. In this case the number is ‘4’.
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / 1Fichier
\ "fichier"
2 / Alias for an existing remote
\ "alias"
3 / Amazon Drive
\ "amazon cloud drive"
4 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean,
Dreamhost, IBM COS, Minio, and Tencent COS
\ "s3"
5 / Backblaze B2
\ "b2"
...
Storage> 4
Enter the number that corresponds to Amazon Web Services S3. In this case the number is ‘1’.
Choose your S3 provider.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / Amazon Web Services (AWS) S3
\ "AWS"
2 / Alibaba Cloud Object Storage System (OSS) formerly Aliyun
\ "Alibaba"
...
provider> 1
Enter ‘1’ to enter your AWS credentials and AWS secret.
Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env
vars).
Only applies if access_key_id and secret_access_key is blank.
Enter a boolean value (true or false). Press Enter for the default ("false").
Choose a number from below, or type in your own value
1 / Enter AWS credentials in the next step
\ "false"
2 / Get AWS credentials from the environment (env vars or IAM)
\ "true"
env_auth> 1
AWS Access Key ID.
Leave blank for anonymous access or runtime credentials.
Enter a string value. Press Enter for the default ("").
access_key_id> access_key
AWS Secret Access Key (password)
Leave blank for anonymous access or runtime credentials.
Enter a string value. Press Enter for the default ("").
secret_access_key> access_secret
Press Enter in the next option to use the default region.
Region to connect to.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
/ The default endpoint - a good choice if you are unsure.
1 | US Region, Northern Virginia, or Pacific Northwest.
| Leave location constraint empty.
\ "us-east-1"
/ US East (Ohio) Region
...
25 | Needs location constraint us-gov-west-1.
\ "us-gov-west-1"
region>
For the S3 API Endpoint, enter ‘https://polycloud.crowdapis.com’.
Endpoint for S3 API.
Leave blank if using AWS to use the default endpoint for the region.
Enter a string value. Press Enter for the default ("").
endpoint> https://polycloud.crowdapis.com
Press Enter for the Location Constraint to use the default option.
Location constraint - must be set to match the Region.
Used when creating buckets only.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / Empty for US Region, Northern Virginia, or Pacific Northwest.
\ ""
...
24 / AWS GovCloud (US-East) Region.
\ "us-gov-east-1"
25 / AWS GovCloud (US) Region.
\ "us-gov-west-1"
location_constraint>
Press Enter for the Canned ACL to use the default option.
Canned ACL used when creating buckets and storing or copying objects.
This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too.
For more info visit https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-
overview.html#canned-acl
Note that this ACL is applied when server-side copying objects as S3
doesn't copy the ACL from the source but rather writes a fresh one.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / Owner gets FULL_CONTROL. No one else has access rights (default).
\ "private"
...
6 | If you specify this canned ACL when creating a bucket, Amazon S3 ignores it.
\ "bucket-owner-full-control"
acl>
Press Enter for Server Side Encryption to use the default option.
The server-side encryption algorithm used when storing this object in S3.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / None
\ ""
2 / AES256
\ "AES256"
3 / aws:kms
\ "aws:kms"
server_side_encryption>
Press Enter for the KMS ID to use the default option.
If using KMS ID you must provide the ARN of Key.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / None
\ ""
2 / arn:aws:kms:*
\ "arn:aws:kms:us-east-1:*"
sse_kms_key_id>
Press Enter for the Storage Class to use the default option.
The storage class to use when storing new objects in S3.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / Default
\ ""
...
8 / Intelligent-Tiering storage class
\ "INTELLIGENT_TIERING"
storage_class>
Enter ‘n’ to skip the advanced config section.
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> n
Enter ‘y’ to complete the Remote Configuration.
Remote config
--------------------
[crowdstorage]
type = s3
provider = AWS
env_auth = false
access_key_id = access_key
secret_access_key = access_secret
endpoint = https://polycloud.crowdapis.com
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
Enter ‘q’ to exit the config menu.
Current remotes:
Name Type
==== ====
crowdstorage s3
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q
At this point your CrowdStorage configuration should be complete. For rclone commands be sure to format the source and destination as
>rclone copy /path/to/source/ remote:bucket
For example…
>rclone copy C:\Users\john\Desktop\TestFolder crowdstorage:rclone-examplebucket
For more information on how to use rclone check the rclone AWS guide.
https://rclone.org/s3