aws / aws/git-remote-codecommit

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

Aperta
#45 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
289
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Individua la gestione esistente dell'impostazione non documentata CODE_COMMIT_ENDPOINT in git-remote-codecommit. Confronta questo comportamento con i meccanismi dell'AWS SDK descritti nell'issue: AWS_USE_FIPS_ENDPOINT e use_fips_endpoint in ~/.aws/config. Il lavoro è completato quando la selezione dell'endpoint FIPS segue questi meccanismi preservando il comportamento esistente dell'endpoint.

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

Valutazione

Stack tecnologico
aws, git, python
Ambito
cloud, tooling
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.