Cyberduck
Cyberduck is a file manager that supports FTP, OpenStack Swift, and Amazon S3 protocols. You can work with Cyberduck via a graphical or command-line client. The graphical client is available on Windows and macOS. The command-line client is available on Windows, Linux, and macOS.
Configure Cyberduck
1. Configure S3 access
Access can be configured by the Account Owner or a user with the iam.admin role.
- Create a service user with a role with access to S3. If you use a service user with the
s3.user,object_storage_userors3.bucket.userrole, the bucket must have a configured access policy and its rules must allow access to this user. - Issue an S3 key to the user.
2. Configure the client
Graphical client
Console client
Windows
macOS
- Install Cyberduck.
- Open Cyberduck.
- Click Open Connection.
- In the top field, open the list and select More Options.
- In the Profiles section, select the Selectel S3 Cloud Storage profile. To work with the profile, the bucket must have virtual-hosted addressing enabled.
- Restart Cyberduck.
- Click Open Connection.
- In the top field, open the list and select Selectel S3 Cloud Storage.
- In the Access Key field, paste the Access key value from the S3 key of the user for whom you configured access in step 1.
- In the Secret Key field, paste the Secret key value from the S3 key of the user for whom you configured access in step 1.
- Click Connect.
Command format for the console client
To work via the console client, use commands of the following form (with Path-Style addressing):
duck --region <pool> --username <access_key> --password <secret_key> --<command> s3://<s3_domain>/<bucket_name>
Specify:
<pool>— pool where S3 is located;<access_key>— value of the Access key field from the S3 key;<secret_key>— value of the Secret key field from the S3 key;<command>— Cyberduck command; you can see some commands in the CLI documentation;<s3_domain>— S3 API domain. The domain depends on the pool where S3 is located;<bucket_name>— bucket name.
Get a link to an object
You can get a link to an object in a public or private bucket using a presigned URL. For more information about Presigned URLs, see the Sharing objects with presigned URLs guide in the AWS documentation.
- Open the Cyberduck graphical client.
- In the bucket object list, right-click the object and select Copy URL.
- Select one of the Presigned URL options depending on the desired link expiration time: an hour, a day, or a week.