/ in a key becomes a folder.
Setup
Create an API key in the Scaleway console, then export it.Create a Scaleway API key
Create a Scaleway API key
- In IAM, give the user or application that will hold the key a policy
with
ObjectStorageReadOnly, orObjectStorageFullAccessfor a write mount, on the bucket’s Project. - Open API Keys and click Generate API key. Pick that user or application as the bearer.
- For Object Storage, choose Yes, set up preferred Project and pick the bucket’s Project.
- Copy the Access Key and Secret Key. The secret key is shown only once.
- Note the bucket’s region, for example
fr-par.
Connect
- YAML
- Python
- TypeScript
workspace.yaml
Layout
- The endpoint comes from
region:s3.<region>.scw.cloud.endpoint_url(endpointin TypeScript) overrides it. key_prefix(keyPrefixin TypeScript) mounts one folder of the bucket as the root.grep -r,findanddustop after 1000 files; a glob matching more,tar -c,cp -randrm -rare refused.
Sample runs
write mount, cp, mv, rm and > change objects in the bucket. For
write: conditional, see S3-compatible VFSes.
SDK guides
Python
Every config field, the VFS.md and write support.
TypeScript
Every config field, the VFS.md and write support.