DigitalOcean
This provider uses a Kubernetes Secret resource to work. In the following
example, the Secret will have to be named digitalocean-dns and have a
sub-key access-token with the token in it. For example:
apiVersion: v1kind: Secretmetadata:name: digitalocean-dnstype: OpaquestringData:# insert your DO access token hereaccess-token: "your-access-token"
The access token must have write access.
Using stringData lets you provide the token in plain text; Kubernetes
base64-encodes it for you when the Secret is created.
To create a Personal Access Token, see DigitalOcean documentation.
Handy direct link: https://cloud.digitalocean.com/account/api/tokens/new
apiVersion: cert-manager.io/v1kind: Issuermetadata:name: example-issuerspec:acme:...solvers:- dns01:digitalocean:tokenSecretRef:name: digitalocean-dnskey: access-token