Skip to content

Instantly share code, notes, and snippets.

@jschmid1
Created November 10, 2022 13:22
Show Gist options
  • Select an option

  • Save jschmid1/e5d55aaf2190e1d20cba78b1038b5cf9 to your computer and use it in GitHub Desktop.

Select an option

Save jschmid1/e5d55aaf2190e1d20cba78b1038b5cf9 to your computer and use it in GitHub Desktop.
return {
name = "jwe-decrypt",
fields = {
{ consumer = typedefs.no_consumer },
{ config = {
type = "record",
fields = {
{ lookup_header_name = {
type = "string",
required = true,
default = "Authorization"
} },
{ forward_header_name = {
type = "string",
required = true,
default = "Authorization"
} },
{ key_set = {
type = "string",
elements = { type = "string" },
required = true
}
},
},
},
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment