aws / aws/git-remote-codecommit
BUG: Display Specific AWS SSO Profile in Token Expiry Error Messages
- Lingua principale
- Python
- Stelle
- 289
- Fork
- 40
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
When executing Git commands like `git push`, `git pull`, or `git fetch` without first performing an AWS SSO login, the following error occurs:
```
botocore.exceptions.TokenRetrievalError: Error when retrieving token from sso: Token has expired and refresh failed
```
This error should be caught and replaced with a more informative message that specifies the AWS SSO profile requiring login. This enhancement is particularly useful for environments with multiple AWS SSO profiles, helping users easily identify which profile needs to be logged in for the current AWS CodeCommit repository.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il percorso del Git remote-helper usato da git push, git pull e git fetch, poi individua dove viene restituito botocore TokenRetrievalError. Verifica come sia disponibile il profilo AWS SSO attivo e aggiungi la copertura per un token scaduto. Il lavoro è completato quando l’errore identifica il profilo che deve effettuare il login senza oscurare gli altri errori.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, python
- Ambito
- authentication, cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100