Enhancement Proposal
Hello,
This enhancement proposal is to request the exposing of (admin) API endpoints for creating a user, updating allowed domains, revoke domains, and list domains.
IIUC these are currently only available as juju actions. This means that to create a Lego user or update the allowed domains, we must perform manual tasks in the Juju environment for the lego provider.
Also Juju actions are currently unsupported by the juju terraform provider (issue juju/terraform-provider-juju#795), so we do not have an easy way to trigger these Juju actions from terraform.
I believe exposing an API, accessible by superusers would alleviate this concern. We could use the http provider to query these endpoints from Terraform.
Best,