Skip to content

expose api for creating user, allow-domains, revoke-domains, list-domains #129

@alexdlukens

Description

@alexdlukens

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions