Skip to content

Alibaba Cloud

Mount an Alibaba Cloud OSS (Object Storage Service) bucket on Linux with the RaiDrive CLI. Connect with an access key pair and the endpoint address.

raidrivecli add alibaba --bucket <bucket>

If you add storage without any options, you will be prompted to enter an Access Key ID, a Secret Access Key and the storage address (endpoint).

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

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

raidrivecli add alibaba --bucket <bucket> --access-key-id <key>
raidrivecli add alibaba --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/alibaba under /mnt. To specify the mount directory, use the --mount-path option.

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

Additional options

--bucket <bucket>                       bucket
--endpoint <address>                    address (e.g. https://host.example.com)
--access-key-id <key>                   access key id
--secret-access-key [secret]            secret access key

See also