You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functions in apisix/core/vault.lua are only used in the jwt-auth plugin to save the jwt key, so it is not appropriate to put vault-related functions in the core module. We need to unify them.
The kms component has more comprehensive key management functions and is more versatile, so we should make the following adjustments:
Use the vault function provided by the kms component to replace the vault-related functions in the jwt-auth plugin. This will introduce a break change due to changes in configuration.
Delete the apisix/core/vault.lua file.
The text was updated successfully, but these errors were encountered:
soulbird
changed the title
Unified apisix/core/vault.lua and apisix/kms/vault.lua
Unified apisix/core/vault.lua and apisix/secret/vault.lua
Jan 6, 2023
Description
apisix/secret/vault.lua
was introduced in #8412.Functions currently in apisix/secret/vault.lua are copied from apisix/core/vault.lua.
The functions in
apisix/core/vault.lua
are only used in thejwt-auth
plugin to save the jwt key, so it is not appropriate to put vault-related functions in the core module. We need to unify them.The kms component has more comprehensive key management functions and is more versatile, so we should make the following adjustments:
apisix/core/vault.lua
file.The text was updated successfully, but these errors were encountered: