DigitalOcean API token
ID digitalocean_token
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
API token of DigitalOcean. The prefix tells the token type: dop_v1_ for a personal access token, doo_v1_ for an OAuth access token and dor_v1_ for an OAuth refresh token. 64 hexadecimal digits follow. The API takes the token in a bearer Authorization header.
- Parent datatype
- Access token
access_token - Categories
- Secrets and credentials (passwords, keys, tokens)
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 70/100 · missing: examples, mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Gitleaks, TruffleHog
Regular expression
^do[opr]_v1_[a-f0-9]{64}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| dop_v1_ExampleTokenNotReal invalid | Not hexadecimal and too short |
Sources
- doc: https://docs.digitalocean.com/reference/api/create-personal-access-token/
- other: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
- other: https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/digitaloceanv2/digitaloceanv2.go
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/digitalocean_token - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/digitalocean_token.yamlon GitHub