Secret Management

オープン
#103 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
領域
security

調査の方向性

まず Secret Management issue と、Claude Code および Anthropic API に対して提案されている proxy flow を確認してください。この issue ではファイル、テスト、エントリーポイントが指定されていないため、agent から secrets を保護し、認証済みの Sprites を識別するためのサポート対象パターンを確立して文書化する必要があります。

索引モデルが issue の本文から書いたものです。

説明

Hi,

I'm loving sprites so far, thank you for building this!

I have a use case that I'm not sure is supported, and I'd be curious if anything like this was on your roadmap or close to being supported.

I'd like to use some sort of Secret Management system that allows me to protect the Claude Code API key itself from the agent running in the Sprite.

My best idea for this is to:

  • set ANTHROPIC_API_KEY to a bogus/unique string inside the sprite's Claude Code instance
  • route outbound network traffic to the Anthropic API through a proxy
  • in the proxy, replace the token with the real Anthropic API key

The problem with this is I need some way to identify the Sprite. I was hoping to use some sort of internal network identifier to verify that the traffic from Sprite A was coming from one of "my" sprites, but I don't see a way to verify that, as I don't think the sprites are "in my network".

Perhaps I'm thinking about this too narrowly, and perhaps there's a more tried-and-true pattern for this.

Put another way, the more general problem is: how do I protect secrets from the agent itself?

Thanks!
Dan

主要言語
MDX
スター
53
フォーク
5
平均マージ
1日 15時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

superfly/sprites-docs のほかの issue

superfly/sprites-docs の issue をすべて見る

似ている issue

Security の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。