用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aiFabricoCom/fabrico-collections-codex --skill fabrico-managing-secrets命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Audit AWS cost optimization and tagging compliance.
Audit GCP cost optimization and labeling compliance.
Process discovery materials into Jira-ready epics and user stories, or iterate on an existing backlog.
基于 SOC 职业分类
正在显示 SKILL.md
| name | fabrico-managing-secrets |
| description | Secret storage, rotation, and CI/CD authentication. |
| Scenario | Recommended Solution |
|---|---|
| Single cloud, simple apps | Cloud-native (AWS Secrets Manager, Azure Key Vault, GCP Secret Manager) |
| Multi-cloud / hybrid | HashiCorp Vault |
| GitOps with Kubernetes | Sealed Secrets or External Secrets Operator |
| Local dev / small teams | SOPS with age/GPG |
| CI/CD → Cloud | OIDC federation (no long-lived keys) |
Check which cloud provider the project uses:
*.tf with provider "aws" → AWS Secrets Manager*.tf with provider "azurerm" → Azure Key Vault*.tf with provider "google" → GCP Secret ManagerUse the context7 MCP server or a cloud documentation MCP server to look up provider-specific syntax.
Check for existing patterns:
SealedSecret resources → Bitnami Sealed SecretsExternalSecret resources → External Secrets Operator*.enc.yaml files → SOPS encryptionvault-agent sidecars → HashiCorp Vault| CI Platform | Cloud | Approach |
|---|---|---|
| GitHub Actions | AWS | OIDC with aws-actions/configure-aws-credentials |
| GitHub Actions | Azure | OIDC with azure/login |
| GitHub Actions | GCP | OIDC with google-github-actions/auth |
| GitLab CI | AWS/GCP | OIDC with CI_JOB_JWT |
| Bitbucket | AWS | Repository variables + assume role |
| Any | Any | HashiCorp Vault with JWT/OIDC auth |
Rule: Always prefer OIDC federation over long-lived access keys.
| ❌ Don't | ✅ Do |
|---|---|
| Hardcode secrets in code | Use secret references |
Commit .env files | Use .env.example with placeholders |
| Share secrets via Slack/email | Use secret manager with access control |
| Same secret across environments | Separate secrets per environment |
| Long-lived CI/CD credentials | OIDC federation with short-lived tokens |
| Secrets in ConfigMaps | Use Kubernetes Secrets (encrypted at rest) |
fabrico-implementing-ci-cd - For pipeline credential setupfabrico-implementing-terraform-modules - For IaC secret resource patternsfabrico-optimizing-cloud-cost - Secret manager pricing considerations