aws / aws/git-remote-codecommit
How to remove the existing aws credentials and point codecommit to the new aws sso account
- Vorherrschende Sprache
- Python
- Sterne
- 289
- Forks
- 40
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I have been working on a project where I have used codecommit as my repository. My Linux system is configured with the credentials of my personal aws account(for which I had the private and the security key). I now need to push the code into my company's aws account (in which I am a federated user with sso credentials).
I have removed my old remote (which was in my personal aws account), and am trying to use git-remote-codecommit to add the new repo (Textanalysis) with the following command:
_git add remote cc codecommit::us-east-2://Textanalysis_
However, my CLI seems to still be pointing to my personal aws, and not to the corporate one. And it is not able to find this repo.
How do we get the CLI to point to the new aws account?
Beitragsleitfaden
Rechercherichtung
Beginne mit dem im Issue beschriebenen Befehl git-remote-codecommit und der Konfiguration der AWS CLI-Anmeldedaten. Ermittle, wie statt des persönlichen Kontos ein SSO- oder föderiertes Konto ausgewählt werden sollte, und dokumentiere anschließend die erforderliche Einrichtung sowie die Überprüfung, dass das Textanalysis-Remote erfolgreich aufgelöst wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws
- Bereich
- cloud
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100