kedacore/keda

Hashicorp vault auth allow tokens directly set in TriggerAuthentication

Open

#6,026 opened on Aug 2, 2024

 (4 comments) (0 reactions) (0 assignees)Go (1,457 forks)auto 404
authbuggood first issuehelp wantedsecurity

Repository metrics

Stars
 (10,372 stars)
PR merge metrics
 (PR metrics pending)

Description

Report

Currently, hashicorp vault auth supports 2 login methods, one based on service account and other based on tokens. The problem is that the token isn't provided from a secret but from the TriggerAuthentication directly. This is a security risk as TriggerAuthentication isn't a sensitive API by design: image image

Expected Behavior

The token should be recovered from a secret

Actual Behavior

The token is read from the TriggerAuthentication manifest

Contributor guide