Skip to main content

DigitalOcean Spaces Keys

Description#

General#

  • Documentation: https://developers.digitalocean.com/documentation/spaces/
  • Summary: Digital Ocean is a cloud infrastructure provider. Digital Ocean Spaces is an object storage service among Digital Ocean services. All the features available in the control panel are also available via the API. Authentication is required to interact with the API, it is composed of an access key that is not secret, and a secret key that must remain private.
  • IPs allowlist: IP addresses can be added to an allowlist from the Digital Ocean dashboard in the Networking/Firewalls tab.
  • Scopes: Each spaces access keys couple gives full access to the corresponding Digital Ocean Spaces account. One can read, write, or delete data with these keys: leaking these is a serious security incident.

Revoke the secret#

Spaces access keys can be revoked from the Digital Ocean Dashboard.

Check for suspicious activity#

The Digital Ocean Dashboard provides a list of all actions (login, resource creation and deletion) that happened in the last 12 months. This can be accessed from the My Profile/Security section of the dashboard.

Details for Digitalocean spaces token#

  • Category: Cloud Provider

  • Company: DigitalOcean

  • High recall: False

  • Validity check available: False

  • Minimum number of matches: 2

  • Occurrences found for one million commits: 5.5

  • Prefixed: False

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - lock  - storyboard  - xib  banlist_filenames: []  check_binaries: false- type: ContentWhitelistPreValidator  patterns:  - digital ?ocean  - do_space

Examples#

- text: >    client = session.client('s3',                      region_name='ams3',                      endpoint_url='https://ams3.digitaloceanspaces.com',                      aws_access_key_id='CO4STQ4XDCGED3PTOJOP',                      aws_secret_access_key='qh23oFx2boMaQfikW/skdnLL+3/L1Yab4KvuJkXZ5lE')  client_id: "CO4STQ4XDCGED3PTOJOP"  client_secret: "qh23oFx2boMaQfikW/skdnLL+3/L1Yab4KvuJkXZ5lE"
- text: >    dos://CO4STQ4XDCGED3PTOJOP:qh23oFx2boMaQfikW/skdnLL+3/L1Yab4KvuJkXZ5lE@ams3.digitaloceanspaces.com  client_id: "CO4STQ4XDCGED3PTOJOP"  client_secret: "qh23oFx2boMaQfikW/skdnLL+3/L1Yab4KvuJkXZ5lE"