GUI: allow declaring API tokens read-only during creation

Aperta
#528 6 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 14 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

The request is to add a read-only option when creating API tokens in the GUI, for least-privilege CI use such as terraform plan. Start from the existing token-creation UI and the token API, and from related issue #347, to see whether a read-only flag already exists on the backend. Done when a token can be created as read-only from the GUI and that token cannot perform writes.

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

Descrizione

enhancement gui help wanted

It would be useful to have a capability for read-only API tokens.

The use case I have is that we'd like to check if all values are up to date via terraform plan -detailed-exitcode || fail as part of a CI job. At the moment that could only be done by giving that CI job a token with read/write access.

This is a "least authority" concern similar to #347.

Lingua principale
Python
Stelle
678
Fork
74
Merge medio
7g 23h
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun 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 desec-io/desec-stack

Tutte le issue di desec-io/desec-stack

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.