/fuse-devops:devops-secretsfrom fuse-devops
Covers the full lifecycle of secrets on self-hosted infrastructure: creation, distribution, rotation, revocation, and auditing.
Ships in fuse-devops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Before ANY change to a secret store, a secret manifest or a rotation, spawn in parallel, one Agent call each with a name:
.sops.yaml, SealedSecret/ExternalSecret manifests, Vault/OpenBao config and policies, CI secret references, .gitleaks.toml, existing rotation runbooks/websites/developer_hashicorp_vault, /getsops/sops, /websites/external-secrets_io, /bitnami/sealed-secretsThen inspect the target read-only (vault status, kubectl get externalsecret -A, git diff --stat on encrypted files; never a decrypt to stdout). After writing files in a repo, run fuse-ai-pilot:sniper.
Vault v2.2.1, OpenBao v2.7.2, SOPS v3.13.3, age v1.3.2, Sealed Secrets v0.41.2, External Secrets Operator v2.15.0, gitleaks v8.30.1, trufflehog v3.99.8 (GitHub releases/latest redirects). Vault source licence: Business Source License 1.1 (licensor IBM, change licence MPL 2.0 after four years, internal use not a competitive offering); OpenBao is hosted by the Linux Foundation as "a Series of LF Projects" (its licence file was not read). ESO supports only the current minor release. gitleaks states it is feature complete with security patches only. Details and URLs: each reference's Sources.
describe, -o yaml of a Secret, sops -d to stdout, vault kv get without -field into a pipe you cannot see, or a vault read of dynamic credentials. Show names, keys, paths, versions, fingerprints, lease IDs and timestamps only. Redact before quoting anything.ps and CI logs. Read values from a file with mode 0600, stdin, a prompt or an environment variable set by the secret store.| Need | Pick | Why in one line |
|---|---|---|
| Few secrets, GitOps, no server to run | SOPS + age | Encrypted files in Git, one private key to guard |
| Kubernetes-only, write-only Git workflow, small team | Sealed Secrets | Public-key encryption, controller decrypts in-cluster |
| Many secrets, one source of truth, rotation, audit | Vault or OpenBao + ESO | Dynamic credentials, leases, policies, audit devices |
| Per-request database/PKI credentials | Vault/OpenBao engines | Unique short-lived credentials, automatic revocation |
| Public-cloud secret manager already in use | ESO provider | One-line pointer; deep dive out of scope |
| Build-time secret | BuildKit secret mount | Never ARG/ENV (container-ci-ansible-secrets.md) |
| CI to infrastructure | OIDC federation | No static key to leak |
repo/
├── .sops.yaml # creation rules: path regex -> age recipients
├── secrets/ # SOPS-encrypted files only (values ciphertext)
├── k8s/
│ ├── secretstore.yaml # ESO SecretStore / ClusterSecretStore
│ ├── externalsecret.yaml # what to fetch; the cluster builds the Secret
│ └── sealedsecret.yaml # or: ciphertext sealed for one cluster
├── vault/policies/*.hcl # least-privilege policies, reviewed like code
├── .gitleaks.toml # extends the default rules
└── runbooks/rotation-<secret>.md
| Topic | Reference | When to Consult |
|---|---|---|
| Lifecycle and tool choice | secrets-lifecycle.md | New secret, tool decision, bootstrap problem, agent output rules |
| Vault/OpenBao core | vault-openbao-core.md | Status and licence, seal/unseal, auto-unseal, raft, audit devices |
| Vault/OpenBao access | vault-openbao-access.md | Auth methods, policies, KV v2, dynamic DB credentials, PKI |
| SOPS + age | sops-age.md | Encrypted files in Git, key custody, recipients |
| Sealed Secrets | sealed-secrets.md | Scopes, controller key backup/renewal |
| External Secrets Operator | external-secrets-operator.md | SecretStore, ExternalSecret, multi-tenancy |
| Kubernetes Secrets | kubernetes-secrets-at-rest.md | base64, EncryptionConfiguration, KMS, RBAC |
| Docker, CI, Ansible | container-ci-ansible-secrets.md | Compose secrets, BuildKit, OIDC |
| Machine identity and certs | machine-identity-certificates.md | Workload identity, SPIFFE pointer, certificates |
| Leaks | leak-prevention-response.md | Scanners, pre-commit, response order |
| Rotation | rotation-lifecycle.md | Rotation patterns per secret type |
| Destructive operations | destructive-secret-ops.md | Any irreversible secret command |
| Template | When to Use |
|---|---|
| sops.yaml | Copy as .sops.yaml; age recipients per path |
| external-secrets.yaml | SecretStore (Vault, Kubernetes auth) + ExternalSecret + ClusterSecretStore |
| sealed-secret-workflow.md | Seal a Secret offline, back up the controller key |
| vault-policy.hcl | Least-privilege KV v2 + dynamic DB policy |
| vault-kubernetes-auth-role.sh | Enable Kubernetes auth, define a role (reference only, not executable as is) |
| encryption-configuration.yaml | kube-apiserver encryption at rest |
| gitleaks.toml | Extend default rules, scoped allowlist |
| leaked-secret-response.md | Incident checklist |
| rotation-runbook.md | Per-secret runbook skeleton |
vault status # sealed? HA? version (read-only, no auth needed)
vault kv metadata get -mount=secret app/db # versions and timestamps, no value
vault lease lookup <lease-id> # lease TTL, no value
kubectl --context "$CTX" -n "$NS" get externalsecret # READY / STATUS, no value
kubectl --context "$CTX" -n "$NS" get secret db-credentials -o jsonpath='{.data}' | jq 'keys'
gitleaks dir --redact --no-banner . # scan working tree, secrets masked in output
gitleaks git --redact --no-banner . # scan history, secrets masked
ClusterSecretStore access with conditions and give each store the least-privilege role.env, kubeconfig, age identity files or Terraform state holding secretsSKIP= as a habitreferences/container-ci-ansible-secrets.md (opens in a new tab)references/destructive-secret-ops.md (opens in a new tab)references/external-secrets-operator.md (opens in a new tab)references/kubernetes-secrets-at-rest.md (opens in a new tab)references/leak-prevention-response.md (opens in a new tab)references/machine-identity-certificates.md (opens in a new tab)references/rotation-lifecycle.md (opens in a new tab)references/sealed-secrets.md (opens in a new tab)references/secrets-lifecycle.md (opens in a new tab)references/sops-age.md (opens in a new tab)references/templates/encryption-configuration.yaml (opens in a new tab)references/templates/external-secrets.yaml (opens in a new tab)references/templates/gitleaks.toml (opens in a new tab)references/templates/leaked-secret-response.md (opens in a new tab)references/templates/rotation-runbook.md (opens in a new tab)references/templates/sealed-secret-workflow.md (opens in a new tab)references/templates/sops.yaml (opens in a new tab)references/templates/vault-kubernetes-auth-role.sh (opens in a new tab)references/templates/vault-policy.hcl (opens in a new tab)references/vault-openbao-access.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fusengine/claude-plugins --plugin fuse-devops18 skills in this plugin
/devops-ansibleUse when writing, reviewing, testing or running Ansible - choosing ansible-core and community package versions (control node and managed node Python), static and dynamic inventory with group_vars/host_vars, variable precedence, playbooks, roles and collections (ansible-galaxy, requirements.yml, FQCN), idempotency (changed_when/failed_when), handlers, tags, Jinja2 templates, Ansible Vault and no_log, privilege escalation, check mode and diff mode, --limit, serial/rolling updates and max_fail_percentage, block/rescue/always, performance (forks, pipelining, fact caching, strategy), ansible-lint, Molecule, execution environments (ansible-navigator, ansible-builder), project layout, and Ansible versus Terraform/OpenTofu. Not for Terraform/OpenTofu state and modules (devops-iac), Linux host internals (devops-linux), CI pipeline authoring (devops-cicd), secret stores (devops-secrets), Proxmox or OpenStack platform internals (devops-proxmox, devops-openstack) or a security hardening audit (fuse-security:security-expert)./devops-cicdUse when writing, reviewing or debugging CI/CD pipelines for self-hosted infrastructure - GitHub Actions (workflows, reusable workflows, composite actions, matrix, concurrency, caching, environments with required reviewers, OIDC instead of stored secrets, pinning actions by SHA or lockfile, permissions least privilege, self-hosted runners), GitLab CI (rules, needs, includes and components, environments, resource_group, protected variables, runners and executors), pointers for Jenkins / Forgejo-Gitea Actions / Woodpecker, pipeline design (build once promote many, quality gates, speed), image builds in CI (BuildKit cache, multi-arch, provenance/SBOM/signing), deploy strategies and rollback, release automation and pipeline troubleshooting. Not for GitOps controllers, Helm or Kustomize (devops-gitops-packaging), Dockerfile and registry craft (devops-docker), secret stores (devops-secrets), language-specific CI gates (framework experts), repo commit/release flow (commit agent) or a supply-chain audit (fuse-security:security-expert)./devops-databasesUse when operating (not designing) databases - PostgreSQL installation and tuning (postgresql.conf, pg_hba.conf, roles), PgBouncer pooling, backups and point-in-time recovery (pg_dump, pg_basebackup, pgBackRest, restore tests), streaming and logical replication, Patroni high availability and failover/switchover, major version upgrades (pg_upgrade, logical route), vacuum/bloat/transaction ID wraparound, monitoring queries, lock-safe schema changes in production, PostgreSQL on Kubernetes with CloudNativePG; plus MySQL/MariaDB (GTID replication, backup tools), Redis/Valkey (RDB/AOF, Sentinel vs Cluster) and MongoDB pointers. Not for application schema or ORM modelling (framework experts), generic backup/storage strategy (devops-storage-backup), exporters and dashboards (devops-observability), secret stores (devops-secrets) or managed cloud databases./devops-dockerUse when configuring Docker Engine (daemon.json, logging, storage, live-restore), writing Compose files, building images with BuildKit/Buildx (multi-stage, cache mounts, multi-platform, SBOM/provenance, Bake), publishing ports safely next to a host firewall (iptables, experimental nftables backend, ufw/firewalld), running a private registry, signing images with cosign, running daemonless containers with Podman/Quadlet, or troubleshooting/cleaning a container host. Not for Kubernetes (devops-kubernetes), CI pipelines (devops-cicd), dependency vulnerability audits (fuse-security:dependency-audit) or Swarm./devops-gitops-packagingUse when packaging or delivering workloads to Kubernetes - Helm 4 charts (values, values.schema.json, dependencies, OCI registries, upgrade/rollback/test), Kustomize bases, overlays, patches and components, choosing Helm vs Kustomize vs both, Argo CD (Application, ApplicationSet, AppProject, sync policy, waves, hooks, app-of-apps), Flux (GitRepository, OCIRepository, Kustomization, HelmRelease, image automation), GitOps repository layout, promotion between environments, drift and rollback. Not for the Kubernetes resources themselves (devops-kubernetes), cluster install or upgrade (devops-k8s-cluster), CI pipelines that build images (devops-cicd) or secret stores (devops-secrets)./devops-iacUse when writing, reviewing or operating infrastructure as code with OpenTofu or Terraform - choosing between them, project layout, provider pinning and the lock file, remote state (S3-compatible/MinIO, HTTP, PostgreSQL, Kubernetes), locking and state encryption, state surgery (import/moved/removed blocks, state mv/rm, force-unlock), modules, variables and validation, environments (workspaces vs directories vs Terragrunt), the saved-plan review/apply workflow, drift detection, tofu/terraform test, tflint/checkov/trivy, and the providers for Proxmox VE, OpenStack, Kubernetes/Helm, Docker and libvirt. Not for Ansible (devops-ansible), Packer and cloud-init images (devops-virtualization), Proxmox or OpenStack platform internals (devops-proxmox, devops-openstack), secret stores (devops-secrets), CI pipeline authoring (devops-cicd) or public-cloud providers.Other plugins' skills for the same job