certd-online-access-plugin-dev

Generates Certd online Access plugin YAML with BaseAccess class implementations.

5.0k|586|Updated Dec 13, 2020
One-click install
npx skills add https://github.com/certd/certd --skill certd-online-access-plugin-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: certd-online-access-plugin-dev
Source: https://github.com/certd/certd/tree/main/.trae/skills/certd-online-plugin-dev/skills/access-plugin-dev
Command: npx skills add https://github.com/certd/certd --skill certd-online-access-plugin-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developing authorization (Access) plugins for the Certd certificate management platform requires knowing the online YAML format, the BaseAccess class contract, and how to declare encrypted input fields, which is error-prone without guidance.

Core Features & Use Cases

  • Online YAML Generation: Produces complete plugin YAML with pluginType: access, declared input authorization fields, and a content class extending BaseAccess.
  • API Client Encapsulation: Implements API methods (e.g., domain list queries) inside the Access class so other plugins can reuse it as a client SDK.
  • Security-Conscious Output: Marks sensitive fields with encrypted or password components and avoids logging real credential values.
  • Use Case: You want Certd to connect to a new DNS or cloud provider. Use this Skill to generate an Access plugin that stores the provider's key ID/secret, tests connectivity via onTestRequest, and exposes API methods for deployment plugins.

Quick Start

Generate a Certd online Access plugin YAML for the ExampleCloud API with keyId and keySecret authorization fields.

Frequently Asked Questions about certd-online-access-plugin-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I develop a Certd Access plugin for a new provider?

Create online YAML with pluginType set to access, declare the authorization fields in input, and return a class extending BaseAccess in content. Implement onTestRequest to call a real API method and throw on failure.

How to declare encrypted credential fields in a Certd plugin?

Declare the sensitive fields in the YAML input section using encrypted or password-type components. The class property names must match the input field names, and real values must never be printed in logs.

Does the Certd online Access plugin use TypeScript decorators?

No. The online format does not use @IsAccess or @AccessInput decorators or standalone TypeScript files. It returns a plain class extending BaseAccess inside the YAML content field.

How do Access plugins load modules in Certd online YAML?

Use await _ctx.import() to load modules such as @certd/pipeline, and _ctx.import("/@/...") for absolute paths under server/src. Use _ctx.logger for module loading logs and this.logger for execution logs.

Why should API methods live in the Access class in Certd?

Encapsulating provider API methods in the Access class lets other plugins call it as a client SDK. Methods should handle pagination, errors, and return fields consistently, with console.log forbidden in favor of this.logger.