konnect 2.4.1 published on Thursday, Mar 13, 2025 by kong
konnect.getGatewayPluginJwt
Explore with Pulumi AI
Using getGatewayPluginJwt
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGatewayPluginJwt(args: GetGatewayPluginJwtArgs, opts?: InvokeOptions): Promise<GetGatewayPluginJwtResult>
function getGatewayPluginJwtOutput(args: GetGatewayPluginJwtOutputArgs, opts?: InvokeOptions): Output<GetGatewayPluginJwtResult>
def get_gateway_plugin_jwt(control_plane_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGatewayPluginJwtResult
def get_gateway_plugin_jwt_output(control_plane_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGatewayPluginJwtResult]
func LookupGatewayPluginJwt(ctx *Context, args *LookupGatewayPluginJwtArgs, opts ...InvokeOption) (*LookupGatewayPluginJwtResult, error)
func LookupGatewayPluginJwtOutput(ctx *Context, args *LookupGatewayPluginJwtOutputArgs, opts ...InvokeOption) LookupGatewayPluginJwtResultOutput
> Note: This function is named LookupGatewayPluginJwt
in the Go SDK.
public static class GetGatewayPluginJwt
{
public static Task<GetGatewayPluginJwtResult> InvokeAsync(GetGatewayPluginJwtArgs args, InvokeOptions? opts = null)
public static Output<GetGatewayPluginJwtResult> Invoke(GetGatewayPluginJwtInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGatewayPluginJwtResult> getGatewayPluginJwt(GetGatewayPluginJwtArgs args, InvokeOptions options)
public static Output<GetGatewayPluginJwtResult> getGatewayPluginJwt(GetGatewayPluginJwtArgs args, InvokeOptions options)
fn::invoke:
function: konnect:index/getGatewayPluginJwt:getGatewayPluginJwt
arguments:
# arguments dictionary
The following arguments are supported:
- Control
Plane Id This property is required. string
- Control
Plane Id This property is required. string
- control
Plane Id This property is required. String
- control
Plane Id This property is required. string
- control_
plane_ id This property is required. str
- control
Plane Id This property is required. String
getGatewayPluginJwt Result
The following output properties are available:
- Config
Get
Gateway Plugin Jwt Config - Control
Plane stringId - Created
At double - Enabled bool
- Id string
- Instance
Name string - Ordering
Get
Gateway Plugin Jwt Ordering - Protocols List<string>
- Route
Get
Gateway Plugin Jwt Route - Service
Get
Gateway Plugin Jwt Service - List<string>
- Updated
At double
- Config
Get
Gateway Plugin Jwt Config - Control
Plane stringId - Created
At float64 - Enabled bool
- Id string
- Instance
Name string - Ordering
Get
Gateway Plugin Jwt Ordering - Protocols []string
- Route
Get
Gateway Plugin Jwt Route - Service
Get
Gateway Plugin Jwt Service - []string
- Updated
At float64
- config
Get
Gateway Plugin Jwt Config - control
Plane StringId - created
At Double - enabled Boolean
- id String
- instance
Name String - ordering
Get
Gateway Plugin Jwt Ordering - protocols List<String>
- route
Get
Gateway Plugin Jwt Route - service
Get
Gateway Plugin Jwt Service - List<String>
- updated
At Double
- config
Get
Gateway Plugin Jwt Config - control
Plane stringId - created
At number - enabled boolean
- id string
- instance
Name string - ordering
Get
Gateway Plugin Jwt Ordering - protocols string[]
- route
Get
Gateway Plugin Jwt Route - service
Get
Gateway Plugin Jwt Service - string[]
- updated
At number
- config
Get
Gateway Plugin Jwt Config - control_
plane_ strid - created_
at float - enabled bool
- id str
- instance_
name str - ordering
Get
Gateway Plugin Jwt Ordering - protocols Sequence[str]
- route
Get
Gateway Plugin Jwt Route - service
Get
Gateway Plugin Jwt Service - Sequence[str]
- updated_
at float
- config Property Map
- control
Plane StringId - created
At Number - enabled Boolean
- id String
- instance
Name String - ordering Property Map
- protocols List<String>
- route Property Map
- service Property Map
- List<String>
- updated
At Number
Supporting Types
GetGatewayPluginJwtConfig
- Anonymous
This property is required. string - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- Claims
To Verifies This property is required. List<string> - A list of registered claims (according to RFC 7519) that Kong can verify as well. Accepted values: one of exp or nbf.
This property is required. List<string>- A list of cookie names that Kong will inspect to retrieve JWTs.
- Header
Names This property is required. List<string> - A list of HTTP header names that Kong will inspect to retrieve JWTs.
- Key
Claim Name This property is required. string - The name of the claim in which the key identifying the secret must be passed. The plugin will attempt to read this claim from the JWT payload and the header, in that order.
- Maximum
Expiration This property is required. double - A value between 0 and 31536000 (365 days) limiting the lifetime of the JWT to maximum_expiration seconds in the future.
- Realm
This property is required. string - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - Run
On Preflight This property is required. bool - A boolean value that indicates whether the plugin should run (and try to authenticate) on OPTIONS preflight requests. If set to false, then OPTIONS requests will always be allowed.
- Secret
Is Base64 This property is required. bool - If true, the plugin assumes the credential’s secret to be base64 encoded. You will need to create a base64-encoded secret for your Consumer, and sign your JWT with the original secret.
- Uri
Param Names This property is required. List<string> - A list of querystring parameters that Kong will inspect to retrieve JWTs.
- Anonymous
This property is required. string - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- Claims
To Verifies This property is required. []string - A list of registered claims (according to RFC 7519) that Kong can verify as well. Accepted values: one of exp or nbf.
This property is required. []string- A list of cookie names that Kong will inspect to retrieve JWTs.
- Header
Names This property is required. []string - A list of HTTP header names that Kong will inspect to retrieve JWTs.
- Key
Claim Name This property is required. string - The name of the claim in which the key identifying the secret must be passed. The plugin will attempt to read this claim from the JWT payload and the header, in that order.
- Maximum
Expiration This property is required. float64 - A value between 0 and 31536000 (365 days) limiting the lifetime of the JWT to maximum_expiration seconds in the future.
- Realm
This property is required. string - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - Run
On Preflight This property is required. bool - A boolean value that indicates whether the plugin should run (and try to authenticate) on OPTIONS preflight requests. If set to false, then OPTIONS requests will always be allowed.
- Secret
Is Base64 This property is required. bool - If true, the plugin assumes the credential’s secret to be base64 encoded. You will need to create a base64-encoded secret for your Consumer, and sign your JWT with the original secret.
- Uri
Param Names This property is required. []string - A list of querystring parameters that Kong will inspect to retrieve JWTs.
- anonymous
This property is required. String - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- claims
To Verifies This property is required. List<String> - A list of registered claims (according to RFC 7519) that Kong can verify as well. Accepted values: one of exp or nbf.
This property is required. List<String>- A list of cookie names that Kong will inspect to retrieve JWTs.
- header
Names This property is required. List<String> - A list of HTTP header names that Kong will inspect to retrieve JWTs.
- key
Claim Name This property is required. String - The name of the claim in which the key identifying the secret must be passed. The plugin will attempt to read this claim from the JWT payload and the header, in that order.
- maximum
Expiration This property is required. Double - A value between 0 and 31536000 (365 days) limiting the lifetime of the JWT to maximum_expiration seconds in the future.
- realm
This property is required. String - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - run
On Preflight This property is required. Boolean - A boolean value that indicates whether the plugin should run (and try to authenticate) on OPTIONS preflight requests. If set to false, then OPTIONS requests will always be allowed.
- secret
Is Base64 This property is required. Boolean - If true, the plugin assumes the credential’s secret to be base64 encoded. You will need to create a base64-encoded secret for your Consumer, and sign your JWT with the original secret.
- uri
Param Names This property is required. List<String> - A list of querystring parameters that Kong will inspect to retrieve JWTs.
- anonymous
This property is required. string - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- claims
To Verifies This property is required. string[] - A list of registered claims (according to RFC 7519) that Kong can verify as well. Accepted values: one of exp or nbf.
This property is required. string[]- A list of cookie names that Kong will inspect to retrieve JWTs.
- header
Names This property is required. string[] - A list of HTTP header names that Kong will inspect to retrieve JWTs.
- key
Claim Name This property is required. string - The name of the claim in which the key identifying the secret must be passed. The plugin will attempt to read this claim from the JWT payload and the header, in that order.
- maximum
Expiration This property is required. number - A value between 0 and 31536000 (365 days) limiting the lifetime of the JWT to maximum_expiration seconds in the future.
- realm
This property is required. string - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - run
On Preflight This property is required. boolean - A boolean value that indicates whether the plugin should run (and try to authenticate) on OPTIONS preflight requests. If set to false, then OPTIONS requests will always be allowed.
- secret
Is Base64 This property is required. boolean - If true, the plugin assumes the credential’s secret to be base64 encoded. You will need to create a base64-encoded secret for your Consumer, and sign your JWT with the original secret.
- uri
Param Names This property is required. string[] - A list of querystring parameters that Kong will inspect to retrieve JWTs.
- anonymous
This property is required. str - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- claims_
to_ verifies This property is required. Sequence[str] - A list of registered claims (according to RFC 7519) that Kong can verify as well. Accepted values: one of exp or nbf.
This property is required. Sequence[str]- A list of cookie names that Kong will inspect to retrieve JWTs.
- header_
names This property is required. Sequence[str] - A list of HTTP header names that Kong will inspect to retrieve JWTs.
- key_
claim_ name This property is required. str - The name of the claim in which the key identifying the secret must be passed. The plugin will attempt to read this claim from the JWT payload and the header, in that order.
- maximum_
expiration This property is required. float - A value between 0 and 31536000 (365 days) limiting the lifetime of the JWT to maximum_expiration seconds in the future.
- realm
This property is required. str - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - run_
on_ preflight This property is required. bool - A boolean value that indicates whether the plugin should run (and try to authenticate) on OPTIONS preflight requests. If set to false, then OPTIONS requests will always be allowed.
- secret_
is_ base64 This property is required. bool - If true, the plugin assumes the credential’s secret to be base64 encoded. You will need to create a base64-encoded secret for your Consumer, and sign your JWT with the original secret.
- uri_
param_ names This property is required. Sequence[str] - A list of querystring parameters that Kong will inspect to retrieve JWTs.
- anonymous
This property is required. String - An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails.
- claims
To Verifies This property is required. List<String> - A list of registered claims (according to RFC 7519) that Kong can verify as well. Accepted values: one of exp or nbf.
This property is required. List<String>- A list of cookie names that Kong will inspect to retrieve JWTs.
- header
Names This property is required. List<String> - A list of HTTP header names that Kong will inspect to retrieve JWTs.
- key
Claim Name This property is required. String - The name of the claim in which the key identifying the secret must be passed. The plugin will attempt to read this claim from the JWT payload and the header, in that order.
- maximum
Expiration This property is required. Number - A value between 0 and 31536000 (365 days) limiting the lifetime of the JWT to maximum_expiration seconds in the future.
- realm
This property is required. String - When authentication fails the plugin sends
WWW-Authenticate
header withrealm
attribute value. - run
On Preflight This property is required. Boolean - A boolean value that indicates whether the plugin should run (and try to authenticate) on OPTIONS preflight requests. If set to false, then OPTIONS requests will always be allowed.
- secret
Is Base64 This property is required. Boolean - If true, the plugin assumes the credential’s secret to be base64 encoded. You will need to create a base64-encoded secret for your Consumer, and sign your JWT with the original secret.
- uri
Param Names This property is required. List<String> - A list of querystring parameters that Kong will inspect to retrieve JWTs.
GetGatewayPluginJwtOrdering
- After
This property is required. GetGateway Plugin Jwt Ordering After - Before
This property is required. GetGateway Plugin Jwt Ordering Before
- After
This property is required. GetGateway Plugin Jwt Ordering After - Before
This property is required. GetGateway Plugin Jwt Ordering Before
- after
This property is required. GetGateway Plugin Jwt Ordering After - before
This property is required. GetGateway Plugin Jwt Ordering Before
- after
This property is required. GetGateway Plugin Jwt Ordering After - before
This property is required. GetGateway Plugin Jwt Ordering Before
- after
This property is required. GetGateway Plugin Jwt Ordering After - before
This property is required. GetGateway Plugin Jwt Ordering Before
- after
This property is required. Property Map - before
This property is required. Property Map
GetGatewayPluginJwtOrderingAfter
- Accesses
This property is required. List<string>
- Accesses
This property is required. []string
- accesses
This property is required. List<String>
- accesses
This property is required. string[]
- accesses
This property is required. Sequence[str]
- accesses
This property is required. List<String>
GetGatewayPluginJwtOrderingBefore
- Accesses
This property is required. List<string>
- Accesses
This property is required. []string
- accesses
This property is required. List<String>
- accesses
This property is required. string[]
- accesses
This property is required. Sequence[str]
- accesses
This property is required. List<String>
GetGatewayPluginJwtRoute
- Id
This property is required. string
- Id
This property is required. string
- id
This property is required. String
- id
This property is required. string
- id
This property is required. str
- id
This property is required. String
GetGatewayPluginJwtService
- Id
This property is required. string
- Id
This property is required. string
- id
This property is required. String
- id
This property is required. string
- id
This property is required. str
- id
This property is required. String
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnect
Terraform Provider.