DigitalOcean.Certificate.create

You're seeing just the function create, go back to DigitalOcean.Certificate module for more information.

Specs

Create a custom or Let's Encrypt certificate.

Examples

iex> DigitalOcean.Certificate.create(
...>   name: "le-cert-01",
...>   type: "lets_encrypt",
...>   dns_names: ["example.com"]
...> ) |> DigitalOcean.request()
{ :ok, %DigitalOcean.Response{} }