Skip to content

Amazon S3

Mount an Amazon S3 bucket on Linux with the RaiDrive CLI. Connect with an Access Key ID and Secret Access Key.

To get the account, keys or IDs this needs, see Before you begin in the Amazon S3 guide for the Windows app.

raidrivecli add aws --bucket <bucket>

If you add storage with only the options shown above, you will be prompted to enter a Access Key ID and Secret Access Key.

$ raidrivecli add aws --bucket mybucket
Access Key ID: <key>
Secret Access Key: ********

Alternatively, a Access Key ID or Secret Access Key can be specified as options.

raidrivecli add aws --bucket <bucket> --access-key-id <key>
raidrivecli add aws --bucket <bucket> \
                    --access-key-id <key> \
                    --secret-access-key [secret]

Warning

Shell commands are logged in history. If possible, we recommend not specifying the --secret-access-key option with a value.

If a mount directory is not specified, it will be mounted to a directory such as /mnt/aws under /mnt. To specify the mount directory, use the --mount-path option.

raidrivecli add aws --bucket mybucket --mount-path /myservices/aws

Additional options

--bucket <bucket>                       bucket
--access-key-id <key>                   access key id
--secret-access-key [secret]            secret access key

See also