Skip to content
certimate-goPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

certimate plugins

English | 中文

Out-of-process provider plugins for certimate. Each plugin is a standalone binary that certimate launches as a gRPC subprocess (hashicorp/go-plugin) to deploy, resolve, notify, or purge certificates. Adding a plugin requires no changes to the certimate core.

This repository indexes official plugins. Provider repositories build and publish their own releases. Certimate reads the signed index. Each publication pushes semver tag v<epoch>.<generation>.0 and purges that @latest alias.

Repository layout

Official provider source lives in its own certimate-go/plugin-provider-* repository. Find it through the repository field in each version receipt.

Path Purpose
registry/ Version receipts, signed catalog, and addressable details and icons
.github/workflows/ Shared provider CI and release, registration, and catalog publication
cmd/ Plugin and registry tooling
_template/ Plugin scaffold
integration/ Core-to-plugin tests using standalone workspace checkouts

Plugin anatomy

Each plugin implements the unified Plugin interface defined in certimate/pkg/plugin:

  • GetMetadata — identity: provider type, access type, capability, category, display name.
  • GetConfigSchema — form/v1 provider (and optionally access) schema + i18n.
  • Process — performs the capability's work with access config, provider config, and a typed payload.
  • PostProcess — finalization for the same execution (embed plugin.NoopFinalizer when the capability needs no cleanup).

manifest.json carries the market metadata:

field meaning
provider_type unique plugin id (kebab-case); also the directory and binary name
access_provider_type the access credential type this plugin consumes
version semver; bumping it is what triggers a new release
capability one of deploy, dns, notify, purge
category market grouping (e.g. cdn, storage, other)
binary built binary name
icon icon filename shipped with the plugin
protocol_version must match the certimate plugin protocol
usages / priority market display hints
release generated pointer to the GitHub Release (repo/tag/assets/checksums)

Add a plugin

The repository includes a certimate-plugin-dev skill for AI coding assistants developing deploy, DNS, notification, and purge plugins. It covers credential reuse, forms and Chinese/English translations, builds, and verification through the real host. From this repository, ask your assistant:

Read skills/certimate-plugin-dev/SKILL.md and develop a <deploy/dns/notify/purge> plugin for <platform>.
Expected behavior: <deployment target / DNS service / notification channel / expired-certificate purge>; API docs: <URL>; credentials: <existing type or new>.

To install in Codex, run these commands from this repository root to copy the entire skill into your personal skills directory. Back up an existing installation with the same name before updating it.

mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
cp -R skills/certimate-plugin-dev "${CODEX_HOME:-$HOME/.codex}/skills/"

Once installed, open your own project and ask: “Use $certimate-plugin-dev to build a DNS plugin for my provider and prepare this repository as a custom market.” For other assistants supporting SKILL.md, copy the entire directory into their skills directory. See the custom market setup.

make init PLUGIN=my-deployer          # scaffold from _template

Copy the scaffold into your standalone Go module. Then edit my-deployer/manifest.json (set provider_type, access_provider_type, capability, category, icon, ...), implement Process() in server.go, and define schema/config.json. Drop the icon file (svg/png) into the plugin directory and point manifest.icon at it.

A plugin may declare a new access type (add schema/access.json) or reuse an existing one (built-in or from another plugin).

Build & test

Initialize the provider's Git submodules and build it into a local Core plugin directory.

make dev PROVIDER_DIR=../plugin-provider-volcengine-dns-acmedns01challenger

Run go test ./... in the provider repository. For make test in this registry, initialize the sibling workspace provider submodules or point CERTIMATE_PLUGIN_WORKSPACE at those checkouts. Integration tests

Releasing

Push a release request tag in the provider repository. After its formal tag appears, this registry opens a version PR. Merging it triggers publication to main. Official release guide

Upgrading from built-in purge providers

The sixteen certificate purge providers that formerly shipped inside certimate core are available as purge capability plugins: aliyun-cas-purger, aliyun-clb-purger, aliyun-esa-purger, aws-acm-purger, aws-iam-purger, azure-keyvault-purger, baiducloud-cert-purger, huaweicloud-elb-purger, huaweicloud-scm-purger, huaweicloud-waf-purger, jdcloud-ssl-purger, tencentcloud-gaap-purger, tencentcloud-ssl-purger, tencentcloud-tse-purger, ucloud-ussl-purger, and volcengine-certcenter-purger.

A workflow node that references a legacy purge provider keeps working once the mapped plugin is installed — certimate resolves the legacy provider ids to these plugins automatically. Until the plugin is installed the node fails with a missing-provider error. certimate never downloads plugins or rewrites workflows unprompted: install the plugin explicitly from the plugin market (or a custom market), and re-save a workflow only if you want its node to carry the new provider id.

Tooling

  • make index stages the catalog from registry receipts and READY CDN observations.
  • The independent release template pins its releaseinfo and genindex tools.
  • make clean removes local dist/ output.

Requirements

  • Go 1.25+ (GOTOOLCHAIN=auto fetches the required toolchain).
  • Depends on github.com/certimate-go/certimate/pkg/plugin for the Plugin interface and handshake.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages