certificate-rotation

Automate TLS certificate rotation across GitOps-managed Kubernetes clusters.

2|1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/lloydchang/agentic-reconciliation-engine --skill certificate-rotation
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: certificate-rotation
Source: https://github.com/lloydchang/agentic-reconciliation-engine/tree/main/core/ai/skills/certificate-rotation
Command: npx skills add https://github.com/lloydchang/agentic-reconciliation-engine --skill certificate-rotation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, openssl, git, yq, and includes scripts (resource) components.

What problem does it solve?

TLS certificate rotation across GitOps-managed clusters is complex and error-prone, risking outages and non-compliant cert lifecycles.

Core Features & Use Cases

  • Certificate discovery across GitOps repositories and Kubernetes secrets to identify expiring certificates.
  • Expiration analysis with prioritization and rotation planning for large fleets.
  • Certificate generation and provisioning using internal CAs or external providers.
  • GitOps manifest updates and PR-based rotation workflows to minimize downtime.
  • Validation, testing, and rollback planning to ensure safe deployments and recoverability.

Quick Start

Run the discovery script to inventory certificates and initiate a rotation plan.

Frequently Asked Questions about certificate-rotation

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

FAQPage Schema
How do I automate TLS certificate rotation across GitOps-managed Kubernetes clusters?▼

Automating TLS certificate rotation across GitOps-managed clusters involves discovering expiring certificates, generating replacements, patching manifests, and validating updates via PR-based workflows. This prevents non-compliant cert lifecycles and outages.

What is the best way to discover expiring TLS certificates in a multi-cluster Kubernetes environment?▼

The best way to discover expiring TLS certificates is by running a discovery script that inventories certificates across GitOps repositories and Kubernetes secrets, prioritizing them by expiration analysis for large fleet rotation planning.

Do I need OpenSSL and jq to patch GitOps manifests for certificate updates?▼

Yes, you need OpenSSL for certificate generation and jq or yq for parsing and patching GitOps manifests. Git is also required to manage the PR-based rotation workflows and rollback planning.

Can I use this approach to validate certificate generation and plan rollbacks in CI/CD?▼

Yes, you can validate certificate generation and plan rollbacks using standard CI/CD primitives alongside GitOps tools. This ensures safe deployments and recoverability by testing manifest updates before applying them to multi-cluster environments.

Why is TLS certificate rotation error-prone in GitOps workflows?▼

TLS certificate rotation is error-prone in GitOps workflows because it requires synchronizing certificate generation, manifest updates, and secret management across multiple clusters, which risks outages if expiration handling is not proactive.

When should I consider proactive expiration handling for Kubernetes secrets?▼

You should consider proactive expiration handling for Kubernetes secrets when managing large fleets of multi-cluster environments, ensuring certificates are discovered, analyzed, and rotated before they expire to maintain application availability.