/ in a key becomes a folder.
Setup
Create a Spaces access key in the DigitalOcean control panel, then export it.Create a Spaces access key
Create a Spaces access key
- Click Spaces Object Storage in the left menu, open the Access Keys tab and click Create Access Key.
- Pick Limited Access and grant the Space Read, or Read/Write/Delete for a write mount. Full Access reaches every Space.
- Name and create the key, then copy the Access Key ID and Secret Key. The secret key is shown only once.
- Note the Space’s name (the bucket) and its region, for example
nyc3.
Connect
- YAML
- Python
- TypeScript
workspace.yaml
Layout
- The endpoint comes from
region:<region>.digitaloceanspaces.com.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.