Secret Management

Aperta
#103 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Ambito
security

Direzione di ricerca

Inizia esaminando l’issue Secret Management e il relativo flusso proxy proposto per Claude Code e l’Anthropic API. L’issue non indica file, test o punti di ingresso; il lavoro dovrebbe stabilire e documentare un modello supportato per proteggere i secret dall’agente e identificare gli Sprites autorizzati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
MDX
Stelle
53
Fork
5
Merge medio
1g 15h
PR unite (30g)
4

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di superfly/sprites-docs

Tutte le issue di superfly/sprites-docs

Issue simili

Altre issue su Security

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.