Move API keys to a `.env` file

Aperta
#970 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

The issue names config.api.yaml as the file holding the API keys that should move to a .env file. Start by searching the repository for where that file is read, since the payload does not name the loading code. The agent rule that blocks access to .env is not specified, so confirm with maintainers where such rules live before adding one. Done means the keys are read from .env, the YAML no longer stores them, and the agent rule is in place.

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

Descrizione

enhancement
Feature Request

With the repo now setup for agents, we should probably move the API keys (ie. config.api.yaml) to a dedicated .env file, and add a rule so the agent can not access it.

Suggested Solution

No response

Additional Info

No response

Lingua principale
Python
Stelle
154
Fork
58
Merge medio
3g 9h
PR unite (30g)
51

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 PyPSA/pypsa-usa

Tutte le issue di PyPSA/pypsa-usa

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.