hashicorp / hashicorp/vault-plugin-auth-jwt

Auth jwt plugin bypasses configured vault proxy in CLI

Open
#288 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
107
Forks
73
Avg merge
13h 49m
Merged PRs (30d)
7

Description

This request bypasses the proxy that is set in VAULT_PROXY_ADDR environment variable
https://github.com/hashicorp/vault-plugin-auth-jwt/blob/ab76cf59ee3962b406c617fcc6b8d4ee1dbdcb6e/cli.go#L190C4-L191C41

It's better not to use raw http call, but to configure http client to use transport defined in vault client, or to implement PostForm in vault client

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at cli.go around lines 190-191, where the JWT CLI makes the raw HTTP request, and inspect how the Vault client configures its transport. Determine how the request should use the transport or PostForm path described in the issue. Done means requests honor the VAULT_PROXY_ADDR proxy setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.