mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-15 17:51:01 +00:00
c7fc730019
In the vault client library, LookupSelfWithContext calls ParseSecret, which has a few places where it returns `nil, nil` instead of returning a proper error. The most common scenario is when the token expires and the Vault server returns: { "errors": [ "permission denied" ] } This commit adds an additional check to ensure that a nil response won't be dereferenced in checkToken(). Signed-off-by: Andrew Gunnerson <andrew.gunnerson@elastic.co> |
||
---|---|---|
.. | ||
cache | ||
common/webhook | ||
constants | ||
controllers | ||
feature | ||
find | ||
generator | ||
metrics | ||
provider | ||
template | ||
utils |