Access keys
Access keys let S3 tools such as rclone, the aws CLI and the SDKs read and write the organisation's storage points directly: the tool reaches a node group's gateway host, without the desktop client or the command line, and nothing needs renewing; a key works until it is revoked or expires.
An access key is a pair:
- Access key ID: 20 characters starting with
SKA, like a user name. - Secret access key: 40 characters, like a password; only you can see it.
Manage them under Access keys in the side bar's My account group. A key belongs to your membership of the current organisation and works there only; make others in other organisations. The organisation's administrators may have turned access keys off or set a longest validity; the page says so at the top.
Creating one
Click "Create access key" and fill in:
- Name (optional): to tell the key apart, such as the machine or tool it is for.
- Storage points: one or more. A storage point marked "no gateway host yet" has no endpoint to use for now; contact the platform.
- Path prefix (optional): only files under this folder, on every chosen storage point; empty: the whole organisation folder.
- Permission: read, read and write (upload, overwrite), or read, write and delete (rclone sync needs it). Never more than your own rights in the organisation.
- Node groups (optional, shown when there are two or more): the key works only through the ones chosen, such as those in the storage point's region to avoid cross-region egress charges.
- Valid for (days): empty means until revoked; when the organisation sets a longest validity it is required and cannot be more.
The scope cannot change afterwards: create a new key and revoke the old one. Creating one asks you to verify again (your password, or the organisation's single sign-on); for 10 minutes after, creating and viewing do not ask again. A member may have up to 10 keys in an organisation (expired ones count).
The secret
The secret access key shows as dots in the list and the details. In the key's Details, click "Show" to see it, with a copy button next to it; "Hide" hides it again.
- Viewing it asks you to verify again (as above).
- Every view goes into the organisation's audit log and sends you an e-mail that the key was viewed: if you did not do it, revoke the key and change your password at once.
- Neither the organisation's administrators nor the platform's operator can see secret access keys.
Setting up tools
The key's Details have the settings ready:
- Endpoint (node group): pick a group near you that is not busy; the endpoint is
https://<gateway host>. - Buckets: the bucket name is the storage point's ID (the details show "storage point → ID"); keys are paths in the organisation folder, as in the portal and the client.
- rclone: a section for
rclone.conf(rclone config fileshows where the file is), used likerclone ls skylane:12/projects. - aws CLI: a few
aws configure setcommands and an exampleaws s3 ls … --endpoint-url https://<gateway host>.
The secret shows as dots in both too, and can be copied once shown. Addressing is path-style (rclone's force_path_style = true, the aws CLI's addressing_style = path); any region will do, the settings say skylane. Writing an rclone remote yourself, keep list_version = 2 and no_check_bucket = true: the gateway lists with ListObjectsV2 only and creates no buckets; without them rclone lists nothing and large files fail. Add --modify-window 1s to rclone sync and rclone copy (the settings end with a reminder): the gateway keeps modification times to the second; without it rclone tries to change the copies' modification times and fails, and sync then deletes nothing it should.
Traffic through access keys counts toward the organisation's quota and billing like the desktop client's. When the quota is used up, requests get QuotaExceeded.
Recommended rclone settings
The gateway takes at most 64 requests at a time from one user on one node. More get SlowDown: rclone waits and sends them again, the speed drops, and once its retries run out it reports an error.
How many requests rclone has going at once:
- uploading large files: about
--transfers×--s3-upload-concurrency(4 × 4 = 16 by default); - small files and downloads: about
--transfers.
Several rclone runs of one account, or several machines on one account, count together. The --checkers mostly list directories when they look at the destination; leave them out of the count.
| Case | Recommended | Why |
|---|---|---|
| One large file up | --s3-chunk-size 16M --s3-upload-concurrency 16 |
About twice as fast as the defaults (5 MiB parts, 4 at a time). rclone uses about part size × concurrency of memory, 256 MiB here. With memory to spare, 64M parts are a little faster still and take 1 GiB. Don't raise the concurrency further: at 32 it was slower and less steady |
| Many large files up | --transfers 16, default part size and concurrency |
16 × 4 = 64 requests. Don't combine it with the row above: --transfers 4 with 16 parts at a time is already 64 |
| Large files down | The defaults are fine; for one large file --multi-thread-streams 0 is faster |
The gateway already reads from storage in parallel ranges; rclone's own threads on top of that slow it down a little |
| Many small files, up and down | --transfers 64 --checkers 64 |
One request per file, filling the 64 exactly: more than 10 times as fast as the default 4 |
| Several rclone runs at once | Share the 64 between them | For example --transfers 32 each for two runs |
Revoking
Click "Revoke" in the list. Tools using the key stop working at once (requests get InvalidAccessKeyId), uploads going on stop too. A revoked key cannot come back.
A key also stops working when it expires (you get a reminder 7 days before), when you are removed from the organisation, when the organisation turns access keys off, or when its administrators or the platform's operator revoke it.
Command line
skylane keys does the same: create, ls, show --secret, rm, endpoints; see The command line.