Last active
November 4, 2022 13:52
-
-
Save jschmid1/cb3ed5c1de79d22b4bf8c8a7cc9710a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| name = "jwks", | |
| dao = "kong.plugins.jwks.daos.jwks", | |
| primary_key = { "id" }, | |
| cache_key = { "kid", "set" }, | |
| endpoint_key = "name", | |
| ttl = true, | |
| fields = { | |
| { | |
| id = typedefs.uuid, | |
| }, | |
| { | |
| set = { | |
| type = "foreign", | |
| required = false, | |
| reference = "jwk_sets", | |
| on_delete = "cascade", | |
| }, | |
| }, | |
| { | |
| name = { | |
| type = "string", | |
| required = false, | |
| unique = true, | |
| }, | |
| }, | |
| { | |
| kid = { | |
| type = "string", | |
| required = true, | |
| }, | |
| }, | |
| { | |
| jwk = jwk | |
| }, | |
| { | |
| tags = typedefs.tags, | |
| }, | |
| { | |
| created_at = typedefs.auto_timestamp_s, | |
| }, | |
| { | |
| updated_at = typedefs.auto_timestamp_s, | |
| }, | |
| }, | |
| }, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment