Skip to content

Spaces buckets, and the keys that reach them

DigitalOcean Spaces is an S3-compatible object storage service, billed as one subscription across all of a team's buckets. Duskwatch is an independent iPhone app for DigitalOcean, in development; it lists your buckets, shows which access keys reach each one, checks the CDN and its certificate, and never reads your files.

Updated

  • 3 sourcesprojects, CDN endpoints and keys list your buckets
  • Full accesskeys counted and flagged: they reach every bucket
  • 7 daysof CDN cache gets a finding
  • Nevera secret key or a file

01Keys

Which keys can reach every bucket

A full-access key copied into a CI job years ago reaches every bucket in the team. The bucket screen lists the keys limited to it, and counts the full-access ones.

  • 1 full-access key can reach every bucket

    The team finding, with the hint to prefer keys limited to the buckets they need.

  • Read · 6 mo old

    A key limited to this bucket, with its permission and age.

  • No key limited to this bucket

    Only full-access keys, if any, can reach it.

From DigitalOcean's docs

  • Full-access keys allow all supported S3 APIs on all buckets, including bucket creation and configuration and listing every bucket. Limited keys grant Read or Read/Write/Delete on specific buckets, and the secret appears only once.

    DigitalOcean docs: manage Spaces access (external link), verified

Key permissions and how the app shows each one
Spaces key permissions and how the app shows them
PermissionWhat it reachesHow the app shows it
Full accessAll buckets, including creating and configuring themCounted below the list, plus a finding for the team
Limited: readOnly the buckets chosen for itRead, with its age
Limited: read and writeOnly the buckets chosen for it, with read, write and deleteRead and write, with its age
No key limited to the bucketOnly full-access keys, if any, can reach it"No key limited to this bucket"

From DigitalOcean's docs

  • In the API, key permissions are read, readwrite or fullaccess. A fullaccess permission cannot be mixed with bucket-scoped ones and takes priority, and the secret key is returned only in the creation response.

    DigitalOcean API reference: Spaces keys (external link), verified

02Buckets

Buckets, gathered from three places

DigitalOcean's main API has no endpoint that lists buckets. The app gathers them from your projects, your CDN endpoints and the buckets named in your access keys.

  • Spaces status in its region

    From DigitalOcean's status page; an incident there becomes a finding.

  • The CDN

    Edge host, custom domain, cache time and certificate.

  • This month's cost

    The Spaces line for all buckets, and this bucket's share when DigitalOcean breaks it out.

  • Keys that reach it

    Limited keys with their age.

From DigitalOcean's docs

03CDN

The CDN cache and its certificate

For a bucket behind the Spaces CDN, two cache times and a certificate near its end get a finding. Each says what it costs you.

  • CDN caches for only 1 minute

    Most requests go back to the bucket.

  • CDN caches for 7 days

    Updated files can take up to a week to show, unless you purge the cache in DigitalOcean.

  • Certificate for static.example.com expires in 9 d

    The CDN custom domain stops serving HTTPS without it.

From DigitalOcean's docs

04Cost

This month's Spaces cost

The cost section reads the month's invoice preview. Before the first charge, it says "No Spaces charges yet".

From DigitalOcean's docs

  • The Spaces subscription includes 250 GiB of storage across all buckets and 1,024 GiB of outbound transfer; more is billed per GiB. Billing begins with your first bucket and ends when you destroy all of them.

    DigitalOcean docs: Spaces pricing (external link), verified

What Duskwatch doesn't do here

  • No browsing, uploading, downloading or deleting files
  • No bucket size, object counts or bucket settings
  • No creating or revoking access keys, and never a secret
  • No CDN cache purge
  • No push for buckets, keys or the CDN cache: they are findings

Questions

  • Can one Spaces key reach every bucket?

    Yes, a full-access key reaches all buckets in the team. Duskwatch counts them and flags "1 full-access key can reach every bucket".

  • Can I browse files in a bucket?

    No. The app never uses the S3 API, so it does not list, open or change files; open the bucket in DigitalOcean for that.

  • Does it show my secret keys?

    No. It shows key names, permissions and ages; DigitalOcean returns a secret only when a key is created.

  • Will I get a push about Spaces?

    No. Spaces problems, including a Spaces incident in the bucket's region, are findings on the bucket screen. The one exception is a Let's Encrypt certificate on a CDN custom domain, which has the certificate push.

Duskwatch is in development. Join the waitlist to hear when it's on the App Store.

We'll email you once when Duskwatch is on the App Store. One-click unsubscribe. How we handle your data

Basic monitoring is free; alerts, most actions and advanced features are part of Duskwatch Pro. See plans and prices