DigitalOcean

Cloud Personal access token

Create and manage Droplets, Kubernetes clusters, databases, load balancers and DNS from any Windmill script, flow or app.

Set up in 3 steps

1

Create a personal access token

In the DigitalOcean control panel, open API, then Tokens. Create one with write scope if your scripts create anything, and copy it — it is shown only once.

2

Add the resource in Windmill

Open Resources, add a resource of type digitalocean, and paste the token.

3

Run your first script

Fork any script below and read before writing anything. There are hundreds here, so search by the verb you need.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Validate a Container Registry Name

Script digitalocean Verified

Validate App Rollback

Script digitalocean Verified

Upgrade a Kubernetes Cluster

Script digitalocean Verified

Upgrade Major Version for a Database

Script digitalocean Verified

Update the Default Project

Script digitalocean Verified

Update the Database Configuration for an Existing Database

Script digitalocean Verified

Update destinations for alerts

Script digitalocean Verified

Update an SSH Key's Name

Script digitalocean Verified

Update an Image

Script digitalocean Verified

Update an App

Script digitalocean Verified

Update an Alert Policy

Script digitalocean Verified

Update an Alert

Script digitalocean Verified

Update a VPC peering

Script digitalocean Verified

Update a VPC

Script digitalocean Verified

Update a Project

Script digitalocean Verified

Update a Node Pool in a Kubernetes Cluster

Script digitalocean Verified

Update a Load Balancer

Script digitalocean Verified

Update a Kubernetes Cluster

Script digitalocean Verified

Update a Firewall

Script digitalocean Verified

Update a Domain Record

Script digitalocean Verified

Update a Database User

Script digitalocean Verified

Update a Check

Script digitalocean Verified

Update a CDN Endpoint

Script digitalocean Verified

Update Trigger

Script digitalocean Verified

Update Topic for a Kafka Cluster

Script digitalocean Verified

Update Subscription Tier

Script digitalocean Verified

Update SQL Mode for a Cluster

Script digitalocean Verified

Update Logsink for a Database Cluster

Script digitalocean Verified

Update Logging Destination

Script digitalocean Verified

Update Garbage Collection

Script digitalocean Verified

Resource type

digitalocean — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
tokenstringYes

Questions

Creating things costs money

Droplets, clusters and load balancers bill from the moment they exist. Scripts that create them should have a matching path that destroys them.

Every write returns 403

The token is read-only. Scope is fixed when a token is created, so make a new one with write access.

Is my token stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.