Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

devops-secrets

БесплатноЗапускает вложенные скриптыНе проверен

Use when creating, distributing, rotating, revoking or auditing the operation of secrets on self-hosted infrastructure - choosing between SOPS+age, Sealed…

Fusengineот Fusengine★ 36 звёзд на GitHub

Об этом скилле

Covers secrets as an operations discipline: what kinds of secret exist, how each is created, distributed, rotated, revoked and audited, which tool fits which context, how to run Vault or OpenBao, how SOPS, Sealed Secrets and External Secrets Operator deliver secrets to Git-driven clusters, what a Kubernetes Secret really protects, how to keep secrets out of builds and pipelines, how to detect a leak and respond to one. Does not cover auditing an application or hardening a host (fuse-security:security-expert), the GitOps controller setup (devops-gitops-packaging), pipeline authoring (devops-cicd), Dockerfile practice (devops-docker), Ansible Vault usage (devops-ansible) or ACME and TLS termination (devops-networking).

DevOps Secrets

Agent Workflow (MANDATORY)

Before ANY change to a secret store, a secret manifest or a rotation, spawn in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - find .sops.yaml, SealedSecret/ExternalSecret manifests, Vault/OpenBao config and policies, CI secret references, .gitleaks.toml, existing rotation runbooks
  2. fuse-ai-pilot:research-expert - verify flags, API versions and licence/support status at the official source (developer.hashicorp.com/vault, openbao.org, getsops.io, external-secrets.io, github.com/bitnami/sealed-secrets)
  3. mcp__context7__query-docs - /websites/developer_hashicorp_vault, /getsops/sops, /websites/external-secrets_io, /bitnami/sealed-secrets

Then 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.

Versions (checked 2026-11-10)

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.

Critical Rules

  1. Never print a secret value. Not in chat, logs, diffs, 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.
  2. Never put a secret value on a command line. Arguments land in shell history, ps and CI logs. Read values from a file with mode 0600, stdin, a prompt or an environment variable set by the secret store.
  3. A leaked secret is revoked and rotated first. Rewriting git history is cleanup, never remediation (leak-prevention-response.md).
  4. Prefer short-lived and identity-based over static. Dynamic credentials, OIDC federation and workload identity beat long-lived keys in Git, CI variables or Secrets.
  5. Destructive or irreversible secret operations are proposed, not run. Use the ACTION / EFFECT / PROOF / WAIT-FOR-GO format and state what becomes unrecoverable (destructive-secret-ops.md).
  6. Key custody before anything else. A key whose only copy sits where the data sits (unseal keys, age identity, Sealed Secrets controller key, encryption-at-rest key) is a lost-data incident waiting; confirm an offline copy exists before encrypting at scale.
  7. Never invent a flag, CRD field or API. Cite the doc page; unknown = "not verified".

Overview

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

Architecture

repo/
├── .sops.yaml                  # creation rules: path regex -> age recipients
├── secrets/                    # SOPS-encrypted files only (values ciphertext)
├── k8s/
│   ├── secretstore.yaml        # ESO SecretStore / ClusterSe
Полный SKILL.md на GitHub

Установить devops-secrets в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/container-ci-ansible-secrets.mdreferences/destructive-secret-ops.mdreferences/external-secrets-operator.mdreferences/kubernetes-secrets-at-rest.mdreferences/leak-prevention-response.mdreferences/machine-identity-certificates.mdreferences/rotation-lifecycle.mdreferences/sealed-secrets.mdreferences/secrets-lifecycle.mdreferences/sops-age.mdreferences/templates/encryption-configuration.yamlreferences/templates/external-secrets.yamlreferences/templates/gitleaks.tomlreferences/templates/leaked-secret-response.mdreferences/templates/rotation-runbook.mdreferences/templates/sealed-secret-workflow.mdreferences/templates/sops.yamlreferences/templates/vault-kubernetes-auth-role.shreferences/templates/vault-policy.hclreferences/vault-openbao-access.mdreferences/vault-openbao-core.md

FAQ

Что делает скилл devops-secrets?

Use when creating, distributing, rotating, revoking or auditing the operation of secrets on self-hosted infrastructure - choosing between SOPS+age, Sealed Secrets, External Secrets Operator, HashiCorp Vault or OpenBao; running a Vault/OpenBao cluster (seal/unseal, auto-unseal, raft snapshots, auth methods, policies, KV v2, dynamic database credentials, PKI, audit devices); Kubernetes Secret handling (base64 is not encryption, encryption at rest, KMS provider, RBAC); Docker/Compose/BuildKit secrets; CI secrets without static keys (OIDC); machine identity and short-lived credentials; certificates as secrets; pre-commit secret scanning (gitleaks, trufflehog); reacting to a leaked secret; writing a rotation runbook. Not for auditing an application or hardening a host (fuse-security:security-expert), the GitOps controller wiring itself (devops-gitops-packaging), pipeline design (devops-cicd), image builds (devops-docker), Ansible Vault usage (devops-ansible) or ACME/TLS termination (devops-networking).

Как установить скилл devops-secrets?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл devops-secrets запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить devops-secrets с