aws / aws/aws-sdk-java-v2

Proxy support for ProcessCredentialsProvider

Aperta
#5,688 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
cross-sdk feature-request p2
Lingua principale
Java
Stelle
2.6k
Fork
1k
Merge medio
2g 9h
PR unite (30g)
51

Descrizione

### Describe the feature

Allow passing of environment variables to ProcessCredentialsProvider so it's possible to support for example proxy with `aws_signing_helper`

### Use Case

Example Use-Case:
using IamAuthAnywere with the `aws_signing_helper` inside a locked down environment it is neccisary to set the environment variable `http_proxy` / `https_proxy`.

### Proposed Solution

extend the `ProcessCredentialsProvider.Builder` to accept environments and forward it to `ProcessBuilder`.

### Other Information

it's possible to expose these variables as global, but it's already cumbersome to set all the different jvm proxy props, having them as additional global variables would make it even more confusing.

### Acknowledgements

- [x] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### AWS Java SDK version used

2.20.161

### JDK version used

openjdk 11.0.19 2023-04-18 LTS

### Operating System and version

-

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da ProcessCredentialsProvider.Builder e dal suo utilizzo di ProcessBuilder. Traccia il modo in cui il builder avvia il processo, quindi verifica che le variabili d’ambiente configurate vengano inoltrate affinché http_proxy e https_proxy funzionino per aws_signing_helper in un ambiente bloccato.

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

Valutazione

Stack tecnologico
java
Ambito
authentication
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.