تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

redshift

بواسطة accolver

Health & Fitness
394التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط