---
title: pydo.spaces_key
description: |
    Spaces keys authenticate requests to DigitalOcean Spaces Buckets.
product: Reference
url: https://docs.digitalocean.com/reference/pydo/reference/spaces_key/
last_updated: "2026-11-06"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# pydo.spaces_key

Generated on 6 Nov 2026 from `pydo` version [`v0.45.0`](https://github.com/digitalocean/pydo/releases/tag/v0.45.0)

Spaces keys authenticate requests to DigitalOcean Spaces Buckets.

You can create, list, update, or delete Spaces keys by sending requests to to the [`/v2/spaces/keys`](https://docs.digitalocean.com/reference/api/reference/spaces-keys/index.html.md) endpoint.

[pydo.spaces_key.create()](https://docs.digitalocean.com/reference/pydo/reference/spaces_key/create/index.html.md): Create a New Spaces Access Key

[pydo.spaces_key.delete()](https://docs.digitalocean.com/reference/pydo/reference/spaces_key/delete/index.html.md): Delete a Spaces Access Key

[pydo.spaces_key.get()](https://docs.digitalocean.com/reference/pydo/reference/spaces_key/get/index.html.md): Get a Spaces Access Key

[pydo.spaces_key.list()](https://docs.digitalocean.com/reference/pydo/reference/spaces_key/list/index.html.md): List Spaces Access Keys

[pydo.spaces_key.patch()](https://docs.digitalocean.com/reference/pydo/reference/spaces_key/patch/index.html.md): Update Spaces Access Keys

[pydo.spaces_key.update()](https://docs.digitalocean.com/reference/pydo/reference/spaces_key/update/index.html.md): Update Spaces Access Keys