跳到正文
TakoAPI
返回技能列表

redshift

由 accolver 提供

Health & Fitness
394下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Manage application secrets with the Redshift CLI (https://redshiftapp.com) — decentralized, encrypted secret.

描述

该技能的功能

Redshift manages application secrets via the `redshift` CLI, storing them encrypted on Nostr relays with no central server. Encryption is entirely client-side using NIP-59 Gift Wrap. Supports setting, getting, listing, and injecting secrets into subprocesses, with per-project and per-environment scoping.

Unlike centralized secret managers, all encryption happens on the client so no server holds plaintext secrets or can be breached to expose them.

何时使用

  • Injecting API keys into local dev commands without committing .env files
  • Rotating production database credentials across environments
  • Running CI/CD pipelines with secrets sourced from Nostr relays
  • Copying a specific secret value to clipboard without printing it to the terminal
  • Syncing secrets across team members using a shared Nostr relay

示例工作流

输入

User asks: Start a Docker Compose stack with production secrets injected

智能体
  1. 1

    Run redshift login to authenticate with a Nostr private key

  2. 2

    Run redshift setup -p myapp -c production to configure the project and environment

  3. 3

    Confirm the required secrets exist with redshift secrets --only-names

  4. 4

    Run redshift run -p myapp -c production -- docker-compose up to start the stack with secrets as environment variables

输出

Docker Compose starts with all production secrets available as environment variables, with no plaintext credentials on disk

前置要求

  • redshift CLI binary (install from https://redshiftapp.com or build from source)
  • Nostr private key (nsec) or NIP-46 bunker connection for authentication

安装

clawhub install accolver/redshift

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接