aws / aws/git-remote-codecommit

Use FIPS endpoints when defined in ~/.aws/config or AWS_USE_FIPS_ENDPOINT environment variable

Offen
#45 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
289
Forks
40
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

To simplify the use of FIPS endpoints I recommend that git-remote-codecommit use the same mechanisms as the AWS SDKs:

https://docs.aws.amazon.com/general/latest/gr/rande.html#FIPS-endpoints

> To specify a FIPS endpoint when you call an AWS operation, use a mechanism provided by the tool that you're using to make the call. For example, the AWS SDKs provide the following mechanisms to enable the use of FIPS endpoints:
>
> - Set the AWS_USE_FIPS_ENDPOINT environment variable to true
> - Add use_fips_endpoint=true to your ~/.aws/config file

We currently use the undocumented environment variable CODE_COMMIT_ENDPOINT to do this. But would prefer that the AWS_USE_FIPS_ENDPOINT apply here also.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Ermittle die bestehende Behandlung der undokumentierten Einstellung CODE_COMMIT_ENDPOINT in git-remote-codecommit. Vergleiche dieses Verhalten mit den im Issue beschriebenen Mechanismen des AWS SDK: AWS_USE_FIPS_ENDPOINT und use_fips_endpoint in ~/.aws/config. Erledigt ist die Aufgabe, wenn die Auswahl des FIPS-Endpunkts diesen Mechanismen folgt und das bestehende Endpunktverhalten erhalten bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, git, python
Bereich
cloud, tooling
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.