soulbird commented on code in PR #8866:
URL: https://github.com/apache/apisix/pull/8866#discussion_r1112801340
##########
apisix/secret/vault.lua:
##########
@@ -53,10 +54,15 @@ local function make_request_to_vault(conf, method, key,
data)
local req_addr = conf.uri .. norm_path("/v1/"
.. conf.prefix .. "/" .. key)
+ local token, _ = env.fetch_by_uri(conf.token)
Review Comment:
Just use `core.env.fetch_by_uri`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]