[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-13 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r768302501 ## File path: t/plugin/jwt-auth-vault.t ## @@ -0,0 +1,363 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor l

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-12 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r767432449 ## File path: t/plugin/jwt-auth-vault.t ## @@ -39,6 +39,16 @@ _EOC_ $block->set_value("http_config", $http_config); +my $vault_config = $

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-12 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r767399928 ## File path: t/plugin/jwt-auth-vault.t ## @@ -163,6 +148,13 @@ passed === TEST 4: sign a jwt and access/verify /secure-endpoint, fails as no sec

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-12 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r767300677 ## File path: t/plugin/jwt-auth-vault.t ## @@ -0,0 +1,368 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor l

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-12 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r767300607 ## File path: conf/config-default.yaml ## @@ -281,6 +281,17 @@ etcd: # the default value is true, e.g. the certifi

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-12 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r767300607 ## File path: conf/config-default.yaml ## @@ -281,6 +281,17 @@ etcd: # the default value is true, e.g. the certifi

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-12 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r767288893 ## File path: conf/config-default.yaml ## @@ -281,6 +281,17 @@ etcd: # the default value is true, e.g. the certifi

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-10 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r766629214 ## File path: t/plugin/jwt-auth-vault.t ## @@ -0,0 +1,369 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor l

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-10 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r766628743 ## File path: apisix/plugins/jwt-auth.lua ## @@ -28,7 +29,7 @@ local ngx_time = ngx.time local sub_str = string.sub local plugin_name = "jwt-auth"

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-09 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r766348818 ## File path: apisix/plugins/jwt-auth.lua ## @@ -119,29 +143,74 @@ function _M.check_schema(conf, schema_type) if schema_type == core.schema.TYPE

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-09 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r766331832 ## File path: apisix/plugins/jwt-auth.lua ## @@ -76,7 +84,23 @@ local consumer_schema = { }, },

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-09 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765651734 ## File path: apisix/plugins/jwt-auth.lua ## @@ -76,7 +84,23 @@ local consumer_schema = { }, },

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-09 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765602637 ## File path: apisix/admin/consumers.lua ## @@ -102,6 +103,33 @@ function _M.get(consumer_name) end utils.fix_count(res.body, consumer_nam

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-09 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765561318 ## File path: apisix/plugins/jwt-auth.lua ## @@ -76,7 +84,23 @@ local consumer_schema = { }, },

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-09 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765561318 ## File path: apisix/plugins/jwt-auth.lua ## @@ -76,7 +84,23 @@ local consumer_schema = { }, },

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-09 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765561318 ## File path: apisix/plugins/jwt-auth.lua ## @@ -76,7 +84,23 @@ local consumer_schema = { }, },

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-09 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765547901 ## File path: apisix/admin/consumers.lua ## @@ -102,6 +103,33 @@ function _M.get(consumer_name) end utils.fix_count(res.body, consumer_nam

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-08 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765426256 ## File path: apisix/plugins/jwt-auth.lua ## @@ -119,29 +143,74 @@ function _M.check_schema(conf, schema_type) if schema_type == core.schema.TYPE

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-08 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765422858 ## File path: apisix/admin/consumers.lua ## @@ -102,6 +103,33 @@ function _M.get(consumer_name) end utils.fix_count(res.body, consumer_nam

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-08 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765421891 ## File path: apisix/plugins/jwt-auth.lua ## @@ -76,7 +84,23 @@ local consumer_schema = { }, },

[GitHub] [apisix] bisakhmondal commented on a change in pull request #5745: feat(vault): vault lua module, integration with jwt-auth authentication plugin

2021-12-08 Thread GitBox
bisakhmondal commented on a change in pull request #5745: URL: https://github.com/apache/apisix/pull/5745#discussion_r765416970 ## File path: apisix/core/vault.lua ## @@ -0,0 +1,116 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one or more +-- contributor li